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.001638/0.001638, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001851/0.001851, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001802/0.001802, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.253, allocations: 53.37 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03868/0.2917, allocations: 34.79 MB / 466.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03463/0.3263, allocations: 27.17 MB / 493.5 MB, free: 8.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.3269, allocations: 15.94 kB / 493.6 MB, free: 8.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3282, allocations: 369.8 kB / 493.9 MB, free: 8.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.3299, allocations: 0.54 MB / 494.5 MB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.3453, allocations: 5.254 MB / 499.7 MB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.3473, allocations: 1.371 MB / 0.4893 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.3476, allocations: 115 kB / 0.4895 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3488, allocations: 0.5489 MB / 0.49 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.3496, allocations: 446.1 kB / 0.4904 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3498, allocations: 52 kB / 0.4905 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02566/0.3754, allocations: 12.45 MB / 0.5026 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.3758, allocations: 151.5 kB / 0.5028 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006686/0.3764, allocations: 279 kB / 0.503 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04401/0.4205, allocations: 14.94 MB / 0.5176 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4205, allocations: 0 / 0.5176 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4205, allocations: 4 kB / 0.5176 GB, free: 3.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.4205, allocations: 0 / 0.5176 GB, free: 3.957 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.007739/0.4282, allocations: 1.396 MB / 0.519 GB, free: 2.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4283, allocations: 12.02 kB / 0.519 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.429, allocations: 95.58 kB / 0.5191 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.4297, allocations: 332.2 kB / 0.5194 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.4297, allocations: 37 kB / 0.5194 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/0.4298, allocations: 48 kB / 0.5195 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4311, allocations: 0.8174 MB / 0.5203 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.4312, allocations: 7.953 kB / 0.5203 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.4312, allocations: 23.94 kB / 0.5203 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4312, allocations: 12 kB / 0.5203 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.4323, allocations: 0.5229 MB / 0.5208 GB, free: 0.5039 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.003954/0.4362, allocations: 2.724 MB / 0.5235 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.4371, allocations: 392.9 kB / 0.5239 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.4375, allocations: 199.1 kB / 0.5241 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/0.4395, allocations: 0.6208 MB / 0.5247 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.4395, allocations: 42.92 kB / 0.5247 GB, free: 12.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.825e-06/0.4395, allocations: 0 / 0.5247 GB, free: 12.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01053/0.4501, allocations: 1.882 MB / 0.5266 GB, free: 10.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4501, allocations: 67.84 kB / 0.5266 GB, free: 10.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.4505, allocations: 281.7 kB / 0.5269 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.4506, allocations: 37.7 kB / 0.5269 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4508, allocations: 245 kB / 0.5272 GB, free: 9.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.451, allocations: 194.3 kB / 0.5273 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.4512, allocations: 114.3 kB / 0.5275 GB, free: 9.562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4514, allocations: 354.7 kB / 0.5278 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.4518, allocations: 181.2 kB / 0.528 GB, free: 9.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.4522, allocations: 328.1 kB / 0.5283 GB, free: 8.652 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.4531, allocations: 0.5446 MB / 0.5288 GB, free: 8.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4531, allocations: 0 / 0.5288 GB, free: 8.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001589/0.4547, allocations: 0.6777 MB / 0.5295 GB, free: 7.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4548, allocations: 8 kB / 0.5295 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4548, allocations: 4 kB / 0.5295 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.4664, allocations: 474.4 kB / 0.5299 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.4671, allocations: 139.8 kB / 0.5301 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.4697, allocations: 2.963 MB / 0.533 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.4701, allocations: 24.09 kB / 0.533 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.4701, allocations: 27.98 kB / 0.533 GB, free: 3.539 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.0003096/0.4704, allocations: 189.6 kB / 0.5332 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.4707, allocations: 43.77 kB / 0.5332 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.4725, allocations: 1.086 MB / 0.5343 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4725, allocations: 11.98 kB / 0.5343 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4725, allocations: 0 / 0.5343 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.4739, allocations: 1.114 MB / 0.5354 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1973/0.6711, allocations: 1.589 MB / 0.5369 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6711, allocations: 0.5312 kB / 0.5369 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.6716, allocations: 99.91 kB / 0.537 GB, free: 97.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003079/0.6747, allocations: 352.7 kB / 0.5374 GB, free: 97.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.6747, allocations: 19.11 kB / 0.5374 GB, free: 97.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004746/0.6752, allocations: 1.149 MB / 0.5385 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6752, allocations: 2.094 kB / 0.5385 GB, free: 96.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.6767, allocations: 1.149 MB / 0.5396 GB, free: 96.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.6768, allocations: 41.88 kB / 0.5397 GB, free: 96.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.6768, allocations: 16.5 kB / 0.5397 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.6771, allocations: 11.56 kB / 0.5397 GB, free: 96.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.6771, allocations: 39.72 kB / 0.5397 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.6772, allocations: 22.55 kB / 0.5398 GB, free: 96.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.6774, allocations: 229.4 kB / 0.54 GB, free: 95.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6774, allocations: 2.625 kB / 0.54 GB, free: 95.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004772/0.6822, allocations: 0.9789 MB / 0.5409 GB, free: 95.85 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.02769/0.7099, allocations: 7.883 MB / 0.5486 GB, free: 91.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.7113, allocations: 0.6849 MB / 0.5493 GB, free: 91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7113, allocations: 0 / 0.5493 GB, free: 91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.7119, allocations: 358.4 kB / 0.5497 GB, free: 90.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7132, allocations: 234.8 kB / 0.5499 GB, free: 90.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.7151, allocations: 1.346 MB / 0.5512 GB, free: 89.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.7153, allocations: 268 kB / 0.5514 GB, free: 89.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.7158, allocations: 234.5 kB / 0.5517 GB, free: 89.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.7159, allocations: 53.22 kB / 0.5517 GB, free: 88.98 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7159, allocations: 0 / 0.5517 GB, free: 88.98 MB / 446.1 MB Notification: Performance of Templates: time 0.03774/0.7536, allocations: 36.53 MB / 0.5874 GB, free: 53.78 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/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: 8.904570005834103]