Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.0008166/0.0008166, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0008804/0.0008804, allocations: 167.8 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8461/0.8461, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.026e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01127/0.01129, allocations: 11.75 MB / 262.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007741/0.01903, allocations: 9.43 MB / 272.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.01928, allocations: 11.94 kB / 272.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.01975, allocations: 182.8 kB / 272.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.0205, allocations: 0.5551 MB / 273 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.02435, allocations: 2.012 MB / 275 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.02575, allocations: 1.41 MB / 276.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.02594, allocations: 123 kB / 276.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.02652, allocations: 0.7054 MB / 277.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.02687, allocations: 394.8 kB / 277.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.02692, allocations: 52 kB / 277.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.03227, allocations: 5.337 MB / 283 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.03241, allocations: 163.5 kB / 283.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.03259, allocations: 247.5 kB / 283.4 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007358/0.03995, allocations: 5.032 MB / 288.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.03995, allocations: 0 / 288.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.03995, allocations: 0 / 288.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.03996, allocations: 0 / 288.4 MB, free: 14.07 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001952/0.04191, allocations: 1.005 MB / 289.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.04195, allocations: 11.98 kB / 289.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.04238, allocations: 190.9 kB / 289.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.04272, allocations: 315.2 kB / 290 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.04274, allocations: 37 kB / 290 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.0428, allocations: 55.94 kB / 290 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.04375, allocations: 0.7244 MB / 290.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.04377, allocations: 4 kB / 290.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.0438, allocations: 20 kB / 290.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.04382, allocations: 12 kB / 290.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.04429, allocations: 349.5 kB / 291.1 MB, free: 11.2 MB / 282.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.002532/0.04682, allocations: 3.235 MB / 294.4 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.04735, allocations: 319.5 kB / 294.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.04751, allocations: 132.4 kB / 294.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.04777, allocations: 152.2 kB / 295 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.0478, allocations: 45.77 kB / 295 MB, free: 7.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.783e-06/0.0478, allocations: 0 / 295 MB, free: 7.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=54): time 0.004374/0.05218, allocations: 1.547 MB / 296.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.05221, allocations: 59.91 kB / 296.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.05242, allocations: 320.2 kB / 296.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.05245, allocations: 37.7 kB / 297 MB, free: 5.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.05257, allocations: 287.7 kB / 297.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.05266, allocations: 194.3 kB / 297.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.05278, allocations: 127.9 kB / 297.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003888/0.05317, allocations: 0.5196 MB / 298.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.05332, allocations: 105.2 kB / 298.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.05357, allocations: 316.6 kB / 298.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.054, allocations: 467.4 kB / 299 MB, free: 2.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.054, allocations: 4 kB / 299 MB, free: 2.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006805/0.05468, allocations: 0.5508 MB / 299.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.0547, allocations: 8 kB / 299.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.05471, allocations: 8 kB / 299.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/0.05885, allocations: 434.9 kB / 299.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.05914, allocations: 143.8 kB / 300.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1065/0.1656, allocations: 4.224 MB / 304.3 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1659, allocations: 20.66 kB / 304.3 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.1659, allocations: 27.64 kB / 304.4 MB, free: 35.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.1661, allocations: 196.4 kB / 304.6 MB, free: 34.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1661, allocations: 62.97 kB / 304.6 MB, free: 34.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.167, allocations: 0.7283 MB / 305.3 MB, free: 34.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.167, allocations: 13.02 kB / 305.4 MB, free: 34.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.167, allocations: 0 / 305.4 MB, free: 34.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005773/0.1675, allocations: 0.7568 MB / 306.1 MB, free: 34.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1687, allocations: 1.226 MB / 307.3 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1687, allocations: 0 / 307.3 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.169, allocations: 100.8 kB / 307.4 MB, free: 34.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.1704, allocations: 319.3 kB / 307.7 MB, free: 34.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1704, allocations: 14.09 kB / 307.8 MB, free: 34.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/0.1707, allocations: 1.595 MB / 309.4 MB, free: 32.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1707, allocations: 0 / 309.4 MB, free: 32.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.1715, allocations: 0.8259 MB / 310.2 MB, free: 32.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1715, allocations: 45.47 kB / 310.2 MB, free: 32.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1715, allocations: 22.33 kB / 310.2 MB, free: 32.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1717, allocations: 11.59 kB / 310.3 MB, free: 32.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1717, allocations: 37.3 kB / 310.3 MB, free: 32.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1717, allocations: 27.39 kB / 310.3 MB, free: 32.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1719, allocations: 236.7 kB / 310.6 MB, free: 32.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1719, allocations: 1.375 kB / 310.6 MB, free: 32.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001728/0.1736, allocations: 416.4 kB / 311 MB, free: 32.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.007918/0.1815, allocations: 3.475 MB / 314.4 MB, free: 30.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009147/0.1824, allocations: 0.6015 MB / 315 MB, free: 30.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1824, allocations: 1.344 kB / 315 MB, free: 30.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.1828, allocations: 270.4 kB / 315.3 MB, free: 30.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.1835, allocations: 250.3 kB / 315.5 MB, free: 30.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1851, allocations: 1.128 MB / 316.7 MB, free: 29.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.1852, allocations: 137.1 kB / 316.8 MB, free: 29.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.1855, allocations: 215 kB / 317 MB, free: 29.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.1856, allocations: 47.78 kB / 317.1 MB, free: 29.61 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1856, allocations: 0 / 317.1 MB, free: 29.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01767/0.2032, allocations: 22.28 MB / 339.3 MB, free: 15.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.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: 4.727612877264619]