Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001653/0.001653, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002029/0.002029, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.724/1.724, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3608, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04389/0.4047, allocations: 34.81 MB / 467.1 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03463/0.4393, allocations: 27.15 MB / 494.3 MB, free: 8.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.4399, allocations: 11.94 kB / 494.3 MB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.4411, allocations: 381.8 kB / 494.7 MB, free: 8.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.4424, allocations: 0.5322 MB / 495.2 MB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.4582, allocations: 5.27 MB / 0.4888 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.4603, allocations: 1.383 MB / 0.4901 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.4606, allocations: 123 kB / 0.4902 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4617, allocations: 0.545 MB / 0.4907 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.4623, allocations: 474.2 kB / 0.4912 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.4624, allocations: 52 kB / 0.4913 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02747/0.4899, allocations: 12.73 MB / 0.5037 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.4902, allocations: 155.4 kB / 0.5038 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.4908, allocations: 275 kB / 0.5041 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04476/0.5356, allocations: 14.95 MB / 0.5187 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5356, allocations: 0 / 0.5187 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5356, allocations: 0 / 0.5187 GB, free: 3.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.5356, allocations: 0 / 0.5187 GB, free: 3.637 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.009403/0.545, allocations: 1.398 MB / 0.5201 GB, free: 2.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.545, allocations: 12.03 kB / 0.5201 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.5459, allocations: 99.56 kB / 0.5202 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.5466, allocations: 328.2 kB / 0.5205 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.5466, allocations: 33 kB / 0.5205 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.5467, allocations: 52 kB / 0.5206 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5481, allocations: 0.8291 MB / 0.5214 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.5481, allocations: 7.891 kB / 0.5214 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.5482, allocations: 16 kB / 0.5214 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5482, allocations: 12 kB / 0.5214 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5493, allocations: 0.5384 MB / 0.5219 GB, free: 172 kB / 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.004466/0.5538, allocations: 2.712 MB / 0.5246 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.5548, allocations: 392.5 kB / 0.525 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.5551, allocations: 203.1 kB / 0.5251 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002106/0.5572, allocations: 0.6207 MB / 0.5258 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5573, allocations: 38.94 kB / 0.5258 GB, free: 12.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.454e-06/0.5573, allocations: 4 kB / 0.5258 GB, free: 12.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01209/0.5693, allocations: 1.894 MB / 0.5276 GB, free: 10.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5694, allocations: 59.78 kB / 0.5277 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.5698, allocations: 285.7 kB / 0.528 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.5698, allocations: 33.7 kB / 0.528 GB, free: 9.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5701, allocations: 245 kB / 0.5282 GB, free: 9.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.5703, allocations: 198.3 kB / 0.5284 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.5705, allocations: 118.3 kB / 0.5285 GB, free: 9.227 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5707, allocations: 346.8 kB / 0.5289 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.571, allocations: 177.2 kB / 0.529 GB, free: 8.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.5715, allocations: 328.1 kB / 0.5294 GB, free: 8.328 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.5723, allocations: 0.5523 MB / 0.5299 GB, free: 7.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5723, allocations: 4 kB / 0.5299 GB, free: 7.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001479/0.5738, allocations: 0.6663 MB / 0.5305 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5738, allocations: 11.94 kB / 0.5306 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5738, allocations: 4 kB / 0.5306 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01361/0.5874, allocations: 470 kB / 0.531 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.5882, allocations: 147.8 kB / 0.5311 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.5907, allocations: 2.959 MB / 0.534 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.591, allocations: 16 kB / 0.5341 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.5911, allocations: 28 kB / 0.5341 GB, free: 3.219 MB / 446.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.0003285/0.5914, allocations: 198 kB / 0.5343 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.5917, allocations: 39.77 kB / 0.5343 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.5934, allocations: 1.075 MB / 0.5354 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.5934, allocations: 8 kB / 0.5354 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5934, allocations: 0 / 0.5354 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.5947, allocations: 1.118 MB / 0.5365 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2315/0.8263, allocations: 1.58 MB / 0.538 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.8263, allocations: 0 / 0.538 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.8267, allocations: 102.8 kB / 0.5381 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.8302, allocations: 353 kB / 0.5384 GB, free: 97.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.8303, allocations: 16.03 kB / 0.5384 GB, free: 97.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004997/0.8308, allocations: 1.155 MB / 0.5396 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8308, allocations: 0 / 0.5396 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.8324, allocations: 1.154 MB / 0.5407 GB, free: 96.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.8325, allocations: 49.3 kB / 0.5408 GB, free: 96.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.8325, allocations: 13.7 kB / 0.5408 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.8328, allocations: 15.8 kB / 0.5408 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.8329, allocations: 37.11 kB / 0.5408 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.8329, allocations: 21.59 kB / 0.5408 GB, free: 96.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.8332, allocations: 226.9 kB / 0.5411 GB, free: 96.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8332, allocations: 0.8125 kB / 0.5411 GB, free: 96.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005277/0.8384, allocations: 0.9785 MB / 0.542 GB, free: 95.95 MB / 446.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.03094/0.8694, allocations: 7.887 MB / 0.5497 GB, free: 91.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.8711, allocations: 0.6808 MB / 0.5504 GB, free: 90.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8711, allocations: 0 / 0.5504 GB, free: 90.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.8717, allocations: 361.3 kB / 0.5507 GB, free: 90.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.8731, allocations: 245.6 kB / 0.551 GB, free: 90.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.8752, allocations: 1.343 MB / 0.5523 GB, free: 89.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.8755, allocations: 270.9 kB / 0.5525 GB, free: 88.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.876, allocations: 225.6 kB / 0.5527 GB, free: 88.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.8761, allocations: 49.92 kB / 0.5528 GB, free: 88.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8761, allocations: 0 / 0.5528 GB, free: 88.81 MB / 446.1 MB Notification: Performance of Templates: time 0.04258/0.9187, allocations: 36.76 MB / 0.5887 GB, free: 53.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.859960753004998]