Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001736/0.001736, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002239/0.002239, allocations: 163.9 kB / 25.02 MB, free: 8.945 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 1.402/1.402, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.844e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03612/0.03615, allocations: 24.47 MB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03091/0.06706, allocations: 22.04 MB / 296.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.06744, allocations: 4 kB / 296.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.06834, allocations: 270.3 kB / 297.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008712/0.06921, allocations: 397.5 kB / 297.5 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.08091, allocations: 4.183 MB / 301.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.08237, allocations: 0.9539 MB / 302.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.08257, allocations: 77.17 kB / 302.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.08341, allocations: 0.5181 MB / 303.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.08384, allocations: 275.2 kB / 303.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.451e-05/0.0839, allocations: 36 kB / 303.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01985/0.1038, allocations: 10.16 MB / 313.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.104, allocations: 111.6 kB / 313.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.1044, allocations: 175.7 kB / 314 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03192/0.1363, allocations: 11.99 MB / 326 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1364, allocations: 0 / 326 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.136e-05/0.1364, allocations: 4 kB / 326 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1364, allocations: 0 / 326 MB, free: 11.96 MB / 314.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.006449/0.1428, allocations: 1.093 MB / 327.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1429, allocations: 15.98 kB / 327.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/0.1435, allocations: 139.1 kB / 327.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.1441, allocations: 264.6 kB / 327.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.1441, allocations: 24.66 kB / 327.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.021e-05/0.1442, allocations: 39.98 kB / 327.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1453, allocations: 0.6035 MB / 328.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1453, allocations: 3.938 kB / 328.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.1453, allocations: 15.94 kB / 328.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1453, allocations: 16 kB / 328.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.1461, allocations: 386.3 kB / 328.6 MB, free: 9.242 MB / 314.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.003906/0.1501, allocations: 2.176 MB / 330.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.1511, allocations: 278.8 kB / 331 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.1514, allocations: 124.8 kB / 331.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00208/0.1535, allocations: 467.4 kB / 331.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.1535, allocations: 38.55 kB / 331.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/0.1535, allocations: 0 / 331.6 MB, free: 6.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.006167/0.1597, allocations: 1.159 MB / 332.8 MB, free: 4.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.1598, allocations: 55.41 kB / 332.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.1601, allocations: 247.9 kB / 333.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1601, allocations: 29.7 kB / 333.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1603, allocations: 204.3 kB / 333.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1604, allocations: 115 kB / 333.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1605, allocations: 82.14 kB / 333.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1607, allocations: 338.8 kB / 333.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.161, allocations: 112.9 kB / 334 MB, free: 3.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.1614, allocations: 234.7 kB / 334.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.162, allocations: 373.5 kB / 334.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.162, allocations: 4 kB / 334.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001078/0.1631, allocations: 466.8 kB / 335 MB, free: 2.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1631, allocations: 8 kB / 335 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1631, allocations: 0 / 335 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/0.1683, allocations: 245.8 kB / 335.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.1687, allocations: 87.84 kB / 335.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1708, allocations: 1.828 MB / 337.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1711, allocations: 15.94 kB / 337.2 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.1711, allocations: 20.25 kB / 337.2 MB, free: 192 kB / 314.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 (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 (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.0002306/0.1713, allocations: 169.7 kB / 337.4 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1715, allocations: 43.81 kB / 337.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.1729, allocations: 0.7052 MB / 338.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.1729, allocations: 7.984 kB / 338.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1729, allocations: 4 kB / 338.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/0.174, allocations: 0.8763 MB / 339 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.1759, allocations: 1.082 MB / 340.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1759, allocations: 0 / 340.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.1763, allocations: 71.97 kB / 340.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00166/0.1779, allocations: 172.6 kB / 340.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.178, allocations: 12 kB / 340.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005175/0.1785, allocations: 0.5874 MB / 340.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1785, allocations: 0 / 340.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1797, allocations: 0.751 MB / 341.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.1798, allocations: 27.83 kB / 341.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.1798, allocations: 19.88 kB / 341.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.18, allocations: 8 kB / 341.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1801, allocations: 19.95 kB / 341.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1801, allocations: 12 kB / 341.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1804, allocations: 197.2 kB / 342 MB, free: 11.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1804, allocations: 0 / 342 MB, free: 11.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004425/0.1848, allocations: 0.7521 MB / 342.7 MB, free: 10.48 MB / 330.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.02622/0.211, allocations: 6.505 MB / 349.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.2122, allocations: 473.5 kB / 349.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2122, allocations: 0.875 kB / 349.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.2127, allocations: 212.3 kB / 349.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.2138, allocations: 167.5 kB / 350.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.2155, allocations: 0.8285 MB / 350.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2157, allocations: 212.8 kB / 351.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.2162, allocations: 195.3 kB / 351.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2163, allocations: 32.5 kB / 351.3 MB, free: 1.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2163, allocations: 0 / 351.3 MB, free: 1.793 MB / 330.7 MB Notification: Performance of Templates: time 0.1346/0.3508, allocations: 28.77 MB / 380.1 MB, free: 77.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.241024903953075]