Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 75.75 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008755/0.0008755, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.237e-05/4.584e-05, allocations: 6.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003116/0.003162, allocations: 1.737 MB / 274.8 MB, free: 76 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004308/0.003593, allocations: 159.4 kB / 275 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.003689, allocations: 4 kB / 275 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.003744, allocations: 15.86 kB / 275 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003887, allocations: 15.86 kB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.00413, allocations: 43.83 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.004238, allocations: 51.84 kB / 275.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004349, allocations: 19.98 kB / 275.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.004405, allocations: 35.89 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.004457, allocations: 15.92 kB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.004479, allocations: 4 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.00449, allocations: 4 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.00454, allocations: 31.84 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004565, allocations: 15.94 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.00469, allocations: 51.75 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.004695, allocations: 3.938 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004696, allocations: 0 / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004701, allocations: 0 / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004355/0.005137, allocations: 412.2 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005181, allocations: 12.03 kB / 275.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.00523, allocations: 12.89 kB / 275.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.005413, allocations: 148.4 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.005424, allocations: 12.38 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.005437, allocations: 4.375 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.005721, allocations: 172 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.005727, allocations: 192 / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.005737, allocations: 4.375 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005744, allocations: 384 / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.005787, allocations: 19.92 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.006112, allocations: 418.2 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.006295, allocations: 125.2 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.006351, allocations: 47.17 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.006371, allocations: 7.984 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.006395, allocations: 45.33 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.006397, allocations: 0 / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001986/0.006595, allocations: 97.64 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.006652, allocations: 110.8 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.006744, allocations: 196.3 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.006753, allocations: 29.64 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.006801, allocations: 138.9 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.006815, allocations: 3.953 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.006843, allocations: 27.33 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.00695, allocations: 492.1 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.006962, allocations: 4 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.006977, allocations: 23.36 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.007009, allocations: 27.38 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007011, allocations: 4.062 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.785e-05/0.007079, allocations: 41.64 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.007095, allocations: 11.94 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007101, allocations: 0 / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007111, allocations: 0 / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.457e-05/0.007146, allocations: 7.984 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007151, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.007166, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.007171, allocations: 4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.007238, allocations: 156.6 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.007312, allocations: 73.58 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.007344, allocations: 20.72 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007346, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.007351, allocations: 3.984 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.007355, allocations: 4 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.00753, allocations: 128.6 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007532, allocations: 4 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.007586, allocations: 15.98 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.007589, allocations: 4 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007596, allocations: 0 / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.0076, allocations: 15.81 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.007602, allocations: 4 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.007859, allocations: 390.3 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.007891, allocations: 23.86 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.007904, allocations: 4 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.007955, allocations: 4 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.007983, allocations: 4 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007988, allocations: 3.938 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.008037, allocations: 153.4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008037, allocations: 4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.008203, allocations: 8 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.67e-05/0.00828, allocations: 95.25 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.008366, allocations: 35.61 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008368, allocations: 0 / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.00838, allocations: 11.69 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.008688, allocations: 34.45 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.009013, allocations: 212 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.009062, allocations: 70.59 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.009081, allocations: 7.938 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.009108, allocations: 12.5 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009109, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002295/0.0114, allocations: 0.7017 MB / 280 MB, free: 10.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.826520262984559]