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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 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.421/1.421, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 55.92 kB / 347.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 49.17 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03002/0.3341, allocations: 26.98 MB / 423.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03127/0.3654, allocations: 25.06 MB / 448.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.3659, allocations: 11.94 kB / 448.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.3668, allocations: 306.3 kB / 449.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008999/0.3677, allocations: 377.9 kB / 449.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.3796, allocations: 4.116 MB / 453.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.381, allocations: 0.9659 MB / 454.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3812, allocations: 77.23 kB / 454.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.3819, allocations: 398.6 kB / 455.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.3824, allocations: 322.8 kB / 455.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.3824, allocations: 36 kB / 455.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02143/0.4039, allocations: 10.53 MB / 466 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.4041, allocations: 111.6 kB / 466.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.4046, allocations: 231.1 kB / 466.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0317/0.4363, allocations: 11.5 MB / 477.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4363, allocations: 0 / 477.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4363, allocations: 0 / 477.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.4363, allocations: 0 / 477.8 MB, free: 2.238 MB / 382.1 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.006422/0.4427, allocations: 1.113 MB / 478.9 MB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4428, allocations: 11.98 kB / 478.9 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.4434, allocations: 67.72 kB / 479 MB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4439, allocations: 264.6 kB / 479.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.4439, allocations: 24.66 kB / 479.3 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.4439, allocations: 32 kB / 479.3 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.4449, allocations: 471.7 kB / 479.8 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.4449, allocations: 7.922 kB / 479.8 MB, free: 168 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.445, allocations: 16 kB / 479.8 MB, free: 152 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.445, allocations: 8 kB / 479.8 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.4458, allocations: 386.3 kB / 480.2 MB, free: 15.77 MB / 398.1 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.003956/0.4498, allocations: 2.818 MB / 483 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.4505, allocations: 282.7 kB / 483.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4507, allocations: 124.8 kB / 483.4 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.4521, allocations: 467.4 kB / 483.9 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4521, allocations: 42.56 kB / 483.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.4521, allocations: 0 / 483.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005427/0.4576, allocations: 1.139 MB / 485 MB, free: 10.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4576, allocations: 55.41 kB / 485.1 MB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.4579, allocations: 261.9 kB / 485.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.458, allocations: 37.69 kB / 485.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4581, allocations: 196.3 kB / 485.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.4582, allocations: 119 kB / 485.7 MB, free: 9.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4583, allocations: 94.08 kB / 485.8 MB, free: 9.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4585, allocations: 338.8 kB / 486.1 MB, free: 9.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4587, allocations: 108.8 kB / 486.2 MB, free: 9.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.459, allocations: 230 kB / 486.4 MB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.4595, allocations: 373.5 kB / 486.8 MB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4595, allocations: 0 / 486.8 MB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008585/0.4604, allocations: 463.1 kB / 487.3 MB, free: 8.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4604, allocations: 8 kB / 487.3 MB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4604, allocations: 4 kB / 487.3 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00504/0.4655, allocations: 233.4 kB / 487.5 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4658, allocations: 91.83 kB / 487.6 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.4676, allocations: 1.843 MB / 489.4 MB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4678, allocations: 8.062 kB / 489.4 MB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.4678, allocations: 24 kB / 489.5 MB, free: 5.906 MB / 398.1 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.0002505/0.4681, allocations: 165.7 kB / 489.6 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4682, allocations: 35.75 kB / 489.7 MB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.4693, allocations: 0.7095 MB / 490.4 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4694, allocations: 7.984 kB / 490.4 MB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4694, allocations: 0 / 490.4 MB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.4704, allocations: 0.883 MB / 491.3 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.4721, allocations: 1.186 MB / 492.4 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4721, allocations: 0 / 492.4 MB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.4724, allocations: 63.91 kB / 492.5 MB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.4742, allocations: 180.6 kB / 492.7 MB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.4742, allocations: 8 kB / 492.7 MB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004562/0.4747, allocations: 0.5758 MB / 493.3 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4747, allocations: 8.031 kB / 493.3 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4758, allocations: 0.7457 MB / 494 MB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.4759, allocations: 39.72 kB / 494.1 MB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.476, allocations: 8 kB / 494.1 MB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.4762, allocations: 8 kB / 494.1 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.4762, allocations: 27.89 kB / 494.1 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.4762, allocations: 8 kB / 494.1 MB, free: 1.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.4765, allocations: 231.1 kB / 494.3 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4765, allocations: 0 / 494.3 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004936/0.4815, allocations: 0.7519 MB / 495.1 MB, free: 72 kB / 398.1 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.02502/0.5065, allocations: 6.395 MB / 0.4897 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.5077, allocations: 479.1 kB / 0.4902 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5077, allocations: 0 / 0.4902 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.5082, allocations: 216 kB / 0.4904 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5093, allocations: 180.7 kB / 0.4906 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.5111, allocations: 0.9171 MB / 0.4915 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.5116, allocations: 0.8129 MB / 0.4923 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.512, allocations: 196 kB / 0.4924 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.5121, allocations: 31.44 kB / 0.4925 GB, free: 6.781 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5121, allocations: 0 / 0.4925 GB, free: 6.781 MB / 414.1 MB Notification: Performance of Templates: time 0.04534/0.5575, allocations: 29.43 MB / 0.5212 GB, free: 9.277 MB / 446.1 MB " [Timeout remaining time 659] 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.863055822439492]