Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.001289/0.001289, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001323/0.001323, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 45.95 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09231, allocations: 52.17 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03791/0.1302, allocations: 34.69 MB / 406.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03256/0.1628, allocations: 27.14 MB / 433.4 MB, free: 9.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.1633, allocations: 7.938 kB / 433.4 MB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1644, allocations: 373.9 kB / 433.8 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1655, allocations: 0.5361 MB / 434.3 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.181, allocations: 5.256 MB / 439.6 MB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.1831, allocations: 1.379 MB / 441 MB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.1834, allocations: 119.8 kB / 441.1 MB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.1842, allocations: 0.545 MB / 441.6 MB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.1848, allocations: 442.2 kB / 442 MB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.1849, allocations: 52 kB / 442.1 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02389/0.2088, allocations: 12.43 MB / 454.5 MB, free: 4.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.2091, allocations: 155.5 kB / 454.7 MB, free: 3.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.2095, allocations: 275 kB / 455 MB, free: 3.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04126/0.2508, allocations: 14.93 MB / 469.9 MB, free: 4.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.988e-05/0.2508, allocations: 4 kB / 469.9 MB, free: 4.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.2508, allocations: 3.984 kB / 469.9 MB, free: 4.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2508, allocations: 0 / 469.9 MB, free: 4.738 MB / 430.1 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.007803/0.2586, allocations: 1.392 MB / 471.3 MB, free: 3.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2587, allocations: 8.031 kB / 471.3 MB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/0.2593, allocations: 103.6 kB / 471.4 MB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.2599, allocations: 324.2 kB / 471.7 MB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.2599, allocations: 33 kB / 471.7 MB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.26, allocations: 48 kB / 471.8 MB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2613, allocations: 0.8252 MB / 472.6 MB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.2613, allocations: 11.92 kB / 472.6 MB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.2613, allocations: 20 kB / 472.6 MB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.2613, allocations: 12 kB / 472.7 MB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.2623, allocations: 0.5229 MB / 473.2 MB, free: 1.293 MB / 430.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.187/0.4493, allocations: 2.734 MB / 475.9 MB, free: 85.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/0.4502, allocations: 394 kB / 476.3 MB, free: 85.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.4505, allocations: 200.5 kB / 476.5 MB, free: 85.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.4524, allocations: 0.6252 MB / 477.1 MB, free: 85.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4524, allocations: 38.89 kB / 477.2 MB, free: 85.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.295e-06/0.4524, allocations: 0 / 477.2 MB, free: 85.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.008934/0.4613, allocations: 1.876 MB / 479 MB, free: 84.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.4614, allocations: 59.12 kB / 479.1 MB, free: 84.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.4616, allocations: 278.4 kB / 479.4 MB, free: 84.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.4616, allocations: 36.39 kB / 479.4 MB, free: 84.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4617, allocations: 244.4 kB / 479.6 MB, free: 84.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.4618, allocations: 201.4 kB / 479.8 MB, free: 84.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.462, allocations: 115.9 kB / 479.9 MB, free: 84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.462, allocations: 347.6 kB / 480.3 MB, free: 83.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.4623, allocations: 177.1 kB / 480.5 MB, free: 83.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.4627, allocations: 336.2 kB / 480.8 MB, free: 83.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.4634, allocations: 0.543 MB / 481.3 MB, free: 83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.4635, allocations: 2.953 kB / 481.3 MB, free: 83 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001203/0.4647, allocations: 0.6737 MB / 482 MB, free: 82.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4647, allocations: 9.422 kB / 482 MB, free: 82.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.4647, allocations: 4.375 kB / 482 MB, free: 82.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008989/0.4737, allocations: 451.8 kB / 482.5 MB, free: 82.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.4742, allocations: 141.8 kB / 482.6 MB, free: 82.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.4756, allocations: 2.972 MB / 485.6 MB, free: 79.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.4759, allocations: 13.78 kB / 485.6 MB, free: 79.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.4759, allocations: 35.91 kB / 485.6 MB, free: 79.63 MB / 430.1 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.00024/0.4762, allocations: 189.7 kB / 485.8 MB, free: 79.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4763, allocations: 41.2 kB / 485.8 MB, free: 79.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.4776, allocations: 1.072 MB / 486.9 MB, free: 78.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4776, allocations: 18.34 kB / 486.9 MB, free: 78.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4776, allocations: 5.375 kB / 486.9 MB, free: 78.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.4786, allocations: 1.116 MB / 488.1 MB, free: 78.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.4805, allocations: 1.591 MB / 489.6 MB, free: 77.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.4805, allocations: 1.484 kB / 489.6 MB, free: 77.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.4809, allocations: 97.7 kB / 489.7 MB, free: 77.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/0.4839, allocations: 360 kB / 490.1 MB, free: 77.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.4839, allocations: 15.62 kB / 490.1 MB, free: 77.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004442/0.4844, allocations: 1.145 MB / 491.3 MB, free: 76.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4844, allocations: 6.016 kB / 491.3 MB, free: 76.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.4857, allocations: 1.139 MB / 492.4 MB, free: 75.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.4857, allocations: 49.73 kB / 492.4 MB, free: 75.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4858, allocations: 24.34 kB / 492.5 MB, free: 75.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.4861, allocations: 12 kB / 492.5 MB, free: 75.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.4861, allocations: 36.53 kB / 492.5 MB, free: 75.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.4861, allocations: 21.69 kB / 492.5 MB, free: 75.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.4863, allocations: 232.6 kB / 492.8 MB, free: 75.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4863, allocations: 0 / 492.8 MB, free: 75.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004604/0.4909, allocations: 0.974 MB / 493.7 MB, free: 75.4 MB / 430.1 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.0264/0.5173, allocations: 7.877 MB / 0.4899 GB, free: 69.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.5187, allocations: 0.6918 MB / 0.4905 GB, free: 68.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5188, allocations: 0 / 0.4905 GB, free: 68.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.5192, allocations: 349.9 kB / 0.4909 GB, free: 68.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5204, allocations: 236.4 kB / 0.4911 GB, free: 68.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.5221, allocations: 1.34 MB / 0.4924 GB, free: 67.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.5223, allocations: 267.4 kB / 0.4927 GB, free: 66.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.5226, allocations: 235.2 kB / 0.4929 GB, free: 66.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.5227, allocations: 52.16 kB / 0.4929 GB, free: 66.61 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5227, allocations: 0 / 0.4929 GB, free: 66.61 MB / 430.1 MB Notification: Performance of Templates: time 0.03812/0.5609, allocations: 35.52 MB / 0.5276 GB, free: 31.42 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.779317697975785]