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.001666/0.001666, allocations: 112.9 kB / 18.5 MB, free: 4.406 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.00193/0.00193, allocations: 205 kB / 21.45 MB, free: 1.457 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001966/0.001966, allocations: 59.89 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 53.31 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2455/0.3478, allocations: 38 MB / 465.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03604/0.3839, allocations: 30.74 MB / 495.9 MB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.3847, allocations: 10.28 kB / 495.9 MB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.3861, allocations: 439.5 kB / 496.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3874, allocations: 0.5299 MB / 496.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.403, allocations: 5.235 MB / 0.4903 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.405, allocations: 1.359 MB / 0.4917 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.4053, allocations: 126.7 kB / 0.4918 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008804/0.4062, allocations: 0.5411 MB / 0.4923 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.4067, allocations: 458.2 kB / 0.4927 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.4068, allocations: 56 kB / 0.4928 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02523/0.432, allocations: 12.9 MB / 0.5054 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.4323, allocations: 163.5 kB / 0.5055 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.4328, allocations: 314.8 kB / 0.5058 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03552/0.4684, allocations: 14.94 MB / 0.5204 GB, free: 6.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4684, allocations: 4 kB / 0.5204 GB, free: 6.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4684, allocations: 0 / 0.5204 GB, free: 6.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4684, allocations: 0 / 0.5204 GB, free: 6.938 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.008356/0.4767, allocations: 1.479 MB / 0.5219 GB, free: 5.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4768, allocations: 8.031 kB / 0.5219 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.4776, allocations: 99.56 kB / 0.522 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.4782, allocations: 384.5 kB / 0.5223 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.4782, allocations: 33 kB / 0.5224 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.4783, allocations: 52 kB / 0.5224 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.4796, allocations: 0.6166 MB / 0.523 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4796, allocations: 11.89 kB / 0.523 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.4796, allocations: 23.94 kB / 0.5231 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4797, allocations: 12 kB / 0.5231 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4807, allocations: 0.5268 MB / 0.5236 GB, free: 3.562 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.004591/0.4853, allocations: 3.803 MB / 0.5273 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.4863, allocations: 391.7 kB / 0.5277 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.4866, allocations: 197.5 kB / 0.5279 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/0.4903, allocations: 3.459 MB / 0.5312 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4904, allocations: 34.94 kB / 0.5313 GB, free: 10.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.064e-06/0.4904, allocations: 8 kB / 0.5313 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01068/0.501, allocations: 2.025 MB / 0.5333 GB, free: 8.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5011, allocations: 67.78 kB / 0.5333 GB, free: 8.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.5015, allocations: 316.3 kB / 0.5336 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.5015, allocations: 37.7 kB / 0.5337 GB, free: 8.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.5017, allocations: 229.2 kB / 0.5339 GB, free: 7.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5019, allocations: 202.3 kB / 0.5341 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5021, allocations: 118.3 kB / 0.5342 GB, free: 7.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5022, allocations: 346.8 kB / 0.5345 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5026, allocations: 181.2 kB / 0.5347 GB, free: 7.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.503, allocations: 336.1 kB / 0.535 GB, free: 6.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008589/0.5039, allocations: 0.5484 MB / 0.5356 GB, free: 6.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5039, allocations: 0 / 0.5356 GB, free: 6.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001478/0.5054, allocations: 0.6703 MB / 0.5362 GB, free: 5.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5054, allocations: 8 kB / 0.5362 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5054, allocations: 8.75 kB / 0.5362 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/0.518, allocations: 474.6 kB / 0.5367 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.5185, allocations: 139.8 kB / 0.5368 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.521, allocations: 3.094 MB / 0.5398 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.5212, allocations: 19.94 kB / 0.5398 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.5213, allocations: 35.92 kB / 0.5399 GB, free: 1.379 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.0002629/0.5216, allocations: 189.8 kB / 0.5401 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.5218, allocations: 47.72 kB / 0.5401 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.5234, allocations: 1.048 MB / 0.5411 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.5235, allocations: 15.92 kB / 0.5411 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.5235, allocations: 0 / 0.5411 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.5248, allocations: 1.091 MB / 0.5422 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.5272, allocations: 1.733 MB / 0.5439 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5272, allocations: 0 / 0.5439 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.5276, allocations: 99.89 kB / 0.544 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.5307, allocations: 345 kB / 0.5443 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.5307, allocations: 19.98 kB / 0.5443 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008339/0.5315, allocations: 1.148 MB / 0.5455 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5315, allocations: 4.031 kB / 0.5455 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.5333, allocations: 1.129 MB / 0.5466 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5334, allocations: 124.7 kB / 0.5467 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.5335, allocations: 15.94 kB / 0.5467 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5337, allocations: 15.94 kB / 0.5467 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.5338, allocations: 36.55 kB / 0.5468 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.5339, allocations: 24.86 kB / 0.5468 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.5342, allocations: 247 kB / 0.547 GB, free: 9.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5342, allocations: 0 / 0.547 GB, free: 9.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006029/0.5402, allocations: 0.978 MB / 0.548 GB, free: 8.832 MB / 462.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.03052/0.5707, allocations: 7.887 MB / 0.5557 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.5724, allocations: 0.6928 MB / 0.5564 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5724, allocations: 0 / 0.5564 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.5731, allocations: 351.5 kB / 0.5567 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5745, allocations: 254.4 kB / 0.5569 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.5768, allocations: 1.358 MB / 0.5583 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.5773, allocations: 0.8609 MB / 0.5591 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.5778, allocations: 245 kB / 0.5593 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.578, allocations: 51.42 kB / 0.5594 GB, free: 13.06 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.578, allocations: 0 / 0.5594 GB, free: 13.06 MB / 478.1 MB Notification: Performance of Templates: time 0.0549/0.6329, allocations: 36.27 MB / 0.5948 GB, free: 8.789 MB / 0.4981 GB " [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: 8.741844739764929]