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.001936/0.001936, allocations: 103.1 kB / 19.75 MB, free: 2.656 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.002471/0.002471, allocations: 190.1 kB / 22.92 MB, free: 5.484 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.479/1.479, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.001765/0.001765, allocations: 58.89 kB / 345.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2929, allocations: 49.12 MB / 394.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03011/0.323, allocations: 27 MB / 421.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03101/0.354, allocations: 25.04 MB / 446.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.3545, allocations: 4 kB / 446.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3556, allocations: 314.3 kB / 446.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.3567, allocations: 373.9 kB / 447.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.3716, allocations: 4.096 MB / 451.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.3736, allocations: 0.9542 MB / 452.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.374, allocations: 77.03 kB / 452.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3751, allocations: 394.6 kB / 452.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.3758, allocations: 326.7 kB / 453.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.376, allocations: 36 kB / 453.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0293/0.4053, allocations: 10.48 MB / 463.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4055, allocations: 111.6 kB / 463.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.406, allocations: 231.1 kB / 463.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03166/0.4376, allocations: 11.49 MB / 475.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.4376, allocations: 8 kB / 475.4 MB, free: 2.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4376, allocations: 0 / 475.4 MB, free: 2.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.4377, allocations: 0 / 475.4 MB, free: 2.793 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.006957/0.4446, allocations: 1.184 MB / 476.6 MB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4447, allocations: 12.03 kB / 476.6 MB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.4454, allocations: 63.78 kB / 476.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.4461, allocations: 330.3 kB / 477 MB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.4462, allocations: 24.66 kB / 477 MB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.4463, allocations: 32 kB / 477.1 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4473, allocations: 467.7 kB / 477.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4474, allocations: 3.938 kB / 477.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.4474, allocations: 12 kB / 477.5 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4474, allocations: 8 kB / 477.5 MB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.4483, allocations: 390.3 kB / 477.9 MB, free: 164 kB / 382.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.004122/0.4524, allocations: 2.949 MB / 480.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.4531, allocations: 286.7 kB / 481.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.4533, allocations: 120.8 kB / 481.3 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002804/0.4561, allocations: 2.47 MB / 483.7 MB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4562, allocations: 38.56 kB / 483.8 MB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 4.088e-06/0.4562, allocations: 4 kB / 483.8 MB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005716/0.4619, allocations: 1.285 MB / 485.1 MB, free: 8.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4619, allocations: 59.39 kB / 485.1 MB, free: 8.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.4623, allocations: 262.6 kB / 485.4 MB, free: 7.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.4624, allocations: 29.7 kB / 485.4 MB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4626, allocations: 192.4 kB / 485.6 MB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4627, allocations: 126.9 kB / 485.7 MB, free: 7.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4629, allocations: 86.08 kB / 485.8 MB, free: 7.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4631, allocations: 346.8 kB / 486.1 MB, free: 7.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.4633, allocations: 108.8 kB / 486.2 MB, free: 6.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.4637, allocations: 234 kB / 486.5 MB, free: 6.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.4643, allocations: 365.5 kB / 486.8 MB, free: 6.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4643, allocations: 7.984 kB / 486.8 MB, free: 6.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009463/0.4652, allocations: 463 kB / 487.3 MB, free: 5.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4652, allocations: 11.94 kB / 487.3 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4652, allocations: 4 kB / 487.3 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.4701, allocations: 237.4 kB / 487.5 MB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.4704, allocations: 91.83 kB / 487.6 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.4725, allocations: 1.939 MB / 489.6 MB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.4728, allocations: 16.06 kB / 489.6 MB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.4729, allocations: 20 kB / 489.6 MB, free: 3.309 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.0003278/0.4732, allocations: 169.6 kB / 489.8 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4733, allocations: 31.8 kB / 489.8 MB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.4746, allocations: 0.6931 MB / 490.5 MB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4746, allocations: 4 kB / 490.5 MB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4746, allocations: 8.062 kB / 490.5 MB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.4757, allocations: 0.8635 MB / 491.4 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.4775, allocations: 1.202 MB / 492.6 MB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4775, allocations: 0 / 492.6 MB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.4778, allocations: 67.91 kB / 492.6 MB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.4795, allocations: 168.6 kB / 492.8 MB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.4795, allocations: 15.98 kB / 492.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/0.48, allocations: 0.568 MB / 493.4 MB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.48, allocations: 3.938 kB / 493.4 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.4811, allocations: 0.7422 MB / 494.1 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.4812, allocations: 104.9 kB / 494.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.4813, allocations: 19.83 kB / 494.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4815, allocations: 11.94 kB / 494.3 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.4815, allocations: 27.89 kB / 494.3 MB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.4816, allocations: 12 kB / 494.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4819, allocations: 225.9 kB / 494.5 MB, free: 14.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4819, allocations: 4.062 kB / 494.5 MB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005465/0.4873, allocations: 0.7481 MB / 495.3 MB, free: 13.39 MB / 414.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.02645/0.5138, allocations: 6.391 MB / 0.4899 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.515, allocations: 462.3 kB / 0.4903 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.515, allocations: 4 kB / 0.4904 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.5155, allocations: 208.2 kB / 0.4906 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5167, allocations: 184.6 kB / 0.4907 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5187, allocations: 0.9046 MB / 0.4916 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.5192, allocations: 0.8166 MB / 0.4924 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.5197, allocations: 186.9 kB / 0.4926 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.5198, allocations: 35.44 kB / 0.4926 GB, free: 4.137 MB / 414.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5198, allocations: 0 / 0.4926 GB, free: 4.137 MB / 414.1 MB Notification: Performance of Templates: time 0.04946/0.5693, allocations: 29.29 MB / 0.5212 GB, free: 6.777 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: 8.00348977278918]