Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.00104/0.00104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002553, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001024/0.001024, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002422, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9748/0.9748, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08104/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.045e-05, allocations: 6.312 kB / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0103/0.01032, allocations: 10.8 MB / 255.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.01738, allocations: 9.238 MB / 264.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.01751, allocations: 11.94 kB / 264.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.01778, allocations: 147 kB / 264.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.01822, allocations: 397.5 kB / 265.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.021, allocations: 1.82 MB / 266.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.02207, allocations: 0.9852 MB / 267.9 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.02224, allocations: 81.22 kB / 268 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.02276, allocations: 0.5265 MB / 268.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.02302, allocations: 259.2 kB / 268.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.02306, allocations: 40 kB / 268.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.02892, allocations: 5.438 MB / 274.3 MB, free: 476 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.02906, allocations: 87.72 kB / 274.3 MB, free: 388 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.0293, allocations: 143.8 kB / 274.5 MB, free: 244 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1277/0.157, allocations: 4.714 MB / 279.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.157, allocations: 0 / 279.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.157, allocations: 0 / 279.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.157, allocations: 3.375 kB / 279.2 MB, free: 5.949 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006876/0.1639, allocations: 1.462 MB / 280.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1639, allocations: 10.03 kB / 280.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.1644, allocations: 216.4 kB / 280.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1646, allocations: 220.1 kB / 281.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1647, allocations: 21.53 kB / 281.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.1647, allocations: 36 kB / 281.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1651, allocations: 0.4993 MB / 281.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1652, allocations: 0.5156 kB / 281.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1652, allocations: 16.5 kB / 281.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1652, allocations: 13.94 kB / 281.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.1655, allocations: 196.3 kB / 281.9 MB, free: 4.898 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.1677, allocations: 1.932 MB / 283.8 MB, free: 19.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.168, allocations: 176.6 kB / 284 MB, free: 19.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.1681, allocations: 60.11 kB / 284 MB, free: 19.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.1684, allocations: 150 kB / 284.2 MB, free: 19.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1684, allocations: 38.56 kB / 284.2 MB, free: 19.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.1684, allocations: 1.5 kB / 284.2 MB, free: 19.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002707/0.1711, allocations: 0.8679 MB / 285.1 MB, free: 19.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1711, allocations: 56.19 kB / 285.1 MB, free: 19.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1713, allocations: 218.3 kB / 285.4 MB, free: 19.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1713, allocations: 31.55 kB / 285.4 MB, free: 19.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.1714, allocations: 192.1 kB / 285.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.1714, allocations: 123.7 kB / 285.7 MB, free: 19.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.1715, allocations: 77.5 kB / 285.8 MB, free: 19.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.1716, allocations: 345.1 kB / 286.1 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.1716, allocations: 43.23 kB / 286.1 MB, free: 18.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1717, allocations: 156.7 kB / 286.3 MB, free: 18.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1719, allocations: 254.8 kB / 286.6 MB, free: 18.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1719, allocations: 1.344 kB / 286.6 MB, free: 18.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003293/0.1722, allocations: 291.5 kB / 286.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1722, allocations: 3.594 kB / 286.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1722, allocations: 6.781 kB / 286.8 MB, free: 18.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/0.1747, allocations: 222.4 kB / 287.1 MB, free: 18.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1749, allocations: 109.5 kB / 287.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008241/0.1757, allocations: 1.694 MB / 288.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.1759, allocations: 10.05 kB / 288.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1759, allocations: 18.23 kB / 288.9 MB, free: 16.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.176, allocations: 141.5 kB / 289 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.1761, allocations: 37.84 kB / 289.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.1765, allocations: 442.8 kB / 289.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1765, allocations: 15.97 kB / 289.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1765, allocations: 0 / 289.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003045/0.1768, allocations: 0.5647 MB / 290.1 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.1775, allocations: 0.6513 MB / 290.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1775, allocations: 0 / 290.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1777, allocations: 82.69 kB / 290.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.1777, allocations: 37.83 kB / 290.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005794/0.1783, allocations: 156.2 kB / 291 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1783, allocations: 8.609 kB / 291 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001796/0.1785, allocations: 0.5294 MB / 291.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1785, allocations: 3.469 kB / 291.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.1788, allocations: 477.3 kB / 292 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1789, allocations: 15.97 kB / 292 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.1789, allocations: 8.375 kB / 292 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.179, allocations: 25.3 kB / 292.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.179, allocations: 13.33 kB / 292.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.1791, allocations: 81.72 kB / 292.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1791, allocations: 0.8125 kB / 292.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00444/0.1835, allocations: 374.2 kB / 292.5 MB, free: 15.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01512/0.1986, allocations: 3.499 MB / 296 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.1992, allocations: 327.2 kB / 296.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.316e-05/0.1992, allocations: 3.656 kB / 296.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.1994, allocations: 121.8 kB / 296.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.2001, allocations: 200 kB / 296.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.208, allocations: 0.7956 MB / 297.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.2081, allocations: 114.1 kB / 297.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.2084, allocations: 166.9 kB / 297.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.2087, allocations: 180.7 kB / 297.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2087, allocations: 0 / 297.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of Templates: time 0.02841/0.2371, allocations: 21.95 MB / 319.8 MB, free: 9.812 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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: 3.8623560424894094]