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.001664/0.001664, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001892/0.001892, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.001896/0.001896, allocations: 63.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 53.41 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04358/0.3226, allocations: 38.32 MB / 470.8 MB, free: 324 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03827/0.3608, allocations: 30.86 MB / 0.4899 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.3615, allocations: 11.94 kB / 0.4899 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.3627, allocations: 429.7 kB / 0.4903 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.364, allocations: 0.5322 MB / 0.4908 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.3801, allocations: 5.273 MB / 0.496 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.3824, allocations: 1.387 MB / 0.4973 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.3827, allocations: 123 kB / 0.4974 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.3839, allocations: 0.5411 MB / 0.498 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.3848, allocations: 470.1 kB / 0.4984 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.3849, allocations: 52 kB / 0.4985 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02771/0.4126, allocations: 12.96 MB / 0.5111 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.413, allocations: 155.5 kB / 0.5113 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.4137, allocations: 326.8 kB / 0.5116 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03834/0.4521, allocations: 14.94 MB / 0.5262 GB, free: 12.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.4521, allocations: 0 / 0.5262 GB, free: 12.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4521, allocations: 4 kB / 0.5262 GB, free: 12.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.4521, allocations: 4 kB / 0.5262 GB, free: 12.11 MB / 446.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.009519/0.4616, allocations: 1.4 MB / 0.5275 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4617, allocations: 8.031 kB / 0.5276 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/0.4627, allocations: 103.6 kB / 0.5277 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.4635, allocations: 332.2 kB / 0.528 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.4635, allocations: 37 kB / 0.528 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.4636, allocations: 44 kB / 0.528 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.465, allocations: 0.6205 MB / 0.5287 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.4651, allocations: 7.891 kB / 0.5287 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.4651, allocations: 24 kB / 0.5287 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.4651, allocations: 19.94 kB / 0.5287 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.4663, allocations: 0.5307 MB / 0.5292 GB, free: 8.879 MB / 446.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.005315/0.4716, allocations: 3.66 MB / 0.5328 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4727, allocations: 402.7 kB / 0.5332 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.473, allocations: 193.5 kB / 0.5334 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/0.4751, allocations: 0.6207 MB / 0.534 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.4751, allocations: 38.94 kB / 0.534 GB, free: 3.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.294e-06/0.4751, allocations: 0 / 0.534 GB, free: 3.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01058/0.4857, allocations: 1.89 MB / 0.5359 GB, free: 1.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4857, allocations: 59.78 kB / 0.5359 GB, free: 1.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.4862, allocations: 316.4 kB / 0.5362 GB, free: 1.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.4862, allocations: 29.7 kB / 0.5362 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.4864, allocations: 245.1 kB / 0.5365 GB, free: 1.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4866, allocations: 194.3 kB / 0.5367 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.4868, allocations: 118.3 kB / 0.5368 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.487, allocations: 350.8 kB / 0.5371 GB, free: 436 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.4873, allocations: 185.2 kB / 0.5373 GB, free: 252 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2353/0.7227, allocations: 323 kB / 0.5376 GB, free: 96.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7238, allocations: 0.5441 MB / 0.5381 GB, free: 96.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7238, allocations: 1.156 kB / 0.5381 GB, free: 96.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001652/0.7254, allocations: 0.6743 MB / 0.5388 GB, free: 96.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.7255, allocations: 11.56 kB / 0.5388 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.7255, allocations: 8.609 kB / 0.5388 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/0.7374, allocations: 472.2 kB / 0.5392 GB, free: 95.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.738, allocations: 142.3 kB / 0.5394 GB, free: 95.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.7396, allocations: 2.981 MB / 0.5423 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.74, allocations: 23.91 kB / 0.5423 GB, free: 93.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.74, allocations: 26.27 kB / 0.5423 GB, free: 93.01 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.000244/0.7403, allocations: 195.4 kB / 0.5425 GB, free: 92.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.7405, allocations: 45.77 kB / 0.5426 GB, free: 92.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.742, allocations: 1.079 MB / 0.5436 GB, free: 92.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.742, allocations: 7.016 kB / 0.5436 GB, free: 92.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.742, allocations: 3.312 kB / 0.5436 GB, free: 92.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.7431, allocations: 1.117 MB / 0.5447 GB, free: 91.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.7454, allocations: 1.739 MB / 0.5464 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7454, allocations: 0 / 0.5464 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.7457, allocations: 101.2 kB / 0.5465 GB, free: 90.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/0.7489, allocations: 347.8 kB / 0.5469 GB, free: 90.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.7489, allocations: 18.08 kB / 0.5469 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004817/0.7494, allocations: 1.153 MB / 0.548 GB, free: 89.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7494, allocations: 0 / 0.548 GB, free: 89.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.7508, allocations: 1.148 MB / 0.5491 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.7509, allocations: 53.28 kB / 0.5492 GB, free: 88.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.7509, allocations: 22.55 kB / 0.5492 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.7512, allocations: 11.97 kB / 0.5492 GB, free: 88.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.7512, allocations: 34.78 kB / 0.5492 GB, free: 88.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.7513, allocations: 29.31 kB / 0.5493 GB, free: 88.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.7515, allocations: 245.2 kB / 0.5495 GB, free: 88.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7515, allocations: 0 / 0.5495 GB, free: 88.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005486/0.757, allocations: 0.9849 MB / 0.5505 GB, free: 88.75 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.02883/0.7858, allocations: 7.879 MB / 0.5582 GB, free: 84.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.7874, allocations: 0.6894 MB / 0.5588 GB, free: 83.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7874, allocations: 0 / 0.5588 GB, free: 83.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.7879, allocations: 353.5 kB / 0.5592 GB, free: 83.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.7892, allocations: 268.7 kB / 0.5594 GB, free: 82.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.7911, allocations: 1.379 MB / 0.5608 GB, free: 81.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.7914, allocations: 0.8675 MB / 0.5616 GB, free: 80.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.7915, allocations: 55.09 kB / 0.5617 GB, free: 80.82 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7915, allocations: 0 / 0.5617 GB, free: 80.82 MB / 446.1 MB Notification: Performance of Templates: time 0.03654/0.828, allocations: 38.87 MB / 0.5996 GB, free: 42.36 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/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_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: 12.087565242080018]