Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002358/0.002358, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003276/0.003276, allocations: 71.88 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2617, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04392/0.3057, allocations: 34.8 MB / 466.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03498/0.3407, allocations: 27.18 MB / 493.6 MB, free: 8.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006551/0.3413, allocations: 11.94 kB / 493.6 MB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3427, allocations: 373.8 kB / 494 MB, free: 7.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3442, allocations: 0.5322 MB / 494.5 MB, free: 7.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.3616, allocations: 5.261 MB / 499.8 MB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.3638, allocations: 1.375 MB / 0.4894 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.3642, allocations: 115 kB / 0.4895 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3654, allocations: 0.5527 MB / 0.4901 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009262/0.3663, allocations: 442.2 kB / 0.4905 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3664, allocations: 52 kB / 0.4905 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02655/0.393, allocations: 12.44 MB / 0.5027 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.3933, allocations: 159.4 kB / 0.5028 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.3939, allocations: 271.1 kB / 0.5031 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04499/0.4389, allocations: 14.95 MB / 0.5177 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4389, allocations: 0 / 0.5177 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4389, allocations: 0 / 0.5177 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.4389, allocations: 3.938 kB / 0.5177 GB, free: 3.734 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.007926/0.4468, allocations: 1.392 MB / 0.5191 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4469, allocations: 15.98 kB / 0.5191 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.4477, allocations: 99.56 kB / 0.5192 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.4484, allocations: 328.3 kB / 0.5195 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.4485, allocations: 33 kB / 0.5195 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.4485, allocations: 51.94 kB / 0.5196 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.4499, allocations: 0.8252 MB / 0.5204 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.45, allocations: 3.953 kB / 0.5204 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.45, allocations: 20 kB / 0.5204 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.45, allocations: 12 kB / 0.5204 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4511, allocations: 0.5346 MB / 0.5209 GB, free: 280 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.004162/0.4553, allocations: 2.724 MB / 0.5236 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4563, allocations: 387.3 kB / 0.524 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.4566, allocations: 201.5 kB / 0.5241 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/0.4587, allocations: 0.6207 MB / 0.5248 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.4587, allocations: 38.88 kB / 0.5248 GB, free: 12.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.365e-06/0.4587, allocations: 0 / 0.5248 GB, free: 12.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009995/0.4687, allocations: 1.89 MB / 0.5266 GB, free: 10.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4687, allocations: 55.84 kB / 0.5267 GB, free: 10.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.4691, allocations: 293.5 kB / 0.527 GB, free: 9.926 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.4691, allocations: 29.7 kB / 0.527 GB, free: 9.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4693, allocations: 241 kB / 0.5272 GB, free: 9.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.4695, allocations: 198.3 kB / 0.5274 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.4697, allocations: 118.3 kB / 0.5275 GB, free: 9.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4699, allocations: 346.8 kB / 0.5279 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4702, allocations: 181.2 kB / 0.528 GB, free: 8.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.4707, allocations: 324 kB / 0.5283 GB, free: 8.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/0.4715, allocations: 0.5524 MB / 0.5289 GB, free: 7.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4715, allocations: 4 kB / 0.5289 GB, free: 7.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001555/0.4731, allocations: 0.6659 MB / 0.5295 GB, free: 7.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4731, allocations: 11.94 kB / 0.5295 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4731, allocations: 4 kB / 0.5296 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.4849, allocations: 478.5 kB / 0.53 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.4855, allocations: 143.8 kB / 0.5301 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.4881, allocations: 2.971 MB / 0.533 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.4884, allocations: 12 kB / 0.5331 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.4885, allocations: 31.98 kB / 0.5331 GB, free: 3.312 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.0002875/0.4888, allocations: 189.6 kB / 0.5333 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.489, allocations: 39.77 kB / 0.5333 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.4909, allocations: 1.082 MB / 0.5344 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4909, allocations: 12.14 kB / 0.5344 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4909, allocations: 4 kB / 0.5344 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.4923, allocations: 1.114 MB / 0.5355 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1978/0.6901, allocations: 1.58 MB / 0.537 GB, free: 97.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6901, allocations: 1.312 kB / 0.537 GB, free: 97.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.6905, allocations: 98.08 kB / 0.5371 GB, free: 97.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003014/0.6935, allocations: 359.5 kB / 0.5374 GB, free: 97.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.6935, allocations: 15.62 kB / 0.5375 GB, free: 97.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004445/0.694, allocations: 1.149 MB / 0.5386 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.694, allocations: 2.156 kB / 0.5386 GB, free: 96.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6954, allocations: 1.143 MB / 0.5397 GB, free: 95.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.6955, allocations: 45.91 kB / 0.5397 GB, free: 95.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.6956, allocations: 20.3 kB / 0.5398 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.6958, allocations: 15.25 kB / 0.5398 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.6959, allocations: 37.86 kB / 0.5398 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.696, allocations: 21.17 kB / 0.5398 GB, free: 95.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.6962, allocations: 228.8 kB / 0.5401 GB, free: 95.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6962, allocations: 0.7812 kB / 0.5401 GB, free: 95.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004946/0.7011, allocations: 0.98 MB / 0.541 GB, free: 95.74 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.02847/0.7296, allocations: 7.892 MB / 0.5487 GB, free: 91.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.7312, allocations: 0.6881 MB / 0.5494 GB, free: 90.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7313, allocations: 3.969 kB / 0.5494 GB, free: 90.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.7318, allocations: 357 kB / 0.5497 GB, free: 90.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.7332, allocations: 226.3 kB / 0.55 GB, free: 90.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.7354, allocations: 1.34 MB / 0.5513 GB, free: 89.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.7356, allocations: 265 kB / 0.5515 GB, free: 88.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005481/0.7361, allocations: 246.6 kB / 0.5517 GB, free: 88.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.7362, allocations: 54.06 kB / 0.5518 GB, free: 88.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7362, allocations: 0 / 0.5518 GB, free: 88.64 MB / 446.1 MB Notification: Performance of Templates: time 0.04178/0.778, allocations: 36.5 MB / 0.5874 GB, free: 53.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.088175289332867]