Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001339/0.001339, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001766/0.001766, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 8.051 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 56.78 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2403, allocations: 53.38 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04131/0.2816, allocations: 38.31 MB / 470.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03492/0.3166, allocations: 30.86 MB / 0.4898 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.317, allocations: 11.94 kB / 0.4898 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3181, allocations: 421.7 kB / 0.4902 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3192, allocations: 0.5361 MB / 0.4908 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01349/0.3327, allocations: 5.283 MB / 0.4959 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.3345, allocations: 1.375 MB / 0.4973 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.3347, allocations: 126.9 kB / 0.4974 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.3355, allocations: 0.5411 MB / 0.4979 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.3361, allocations: 470.1 kB / 0.4984 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.3362, allocations: 52 kB / 0.4984 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/0.3593, allocations: 12.95 MB / 0.5111 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.3596, allocations: 159.5 kB / 0.5112 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.3603, allocations: 322.7 kB / 0.5115 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03644/0.3967, allocations: 14.94 MB / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.3967, allocations: 4 kB / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3967, allocations: 0 / 0.5261 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.3968, allocations: 0 / 0.5261 GB, free: 12.3 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.007759/0.4045, allocations: 1.412 MB / 0.5275 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4046, allocations: 8.031 kB / 0.5275 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.4054, allocations: 99.56 kB / 0.5276 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.4061, allocations: 328.3 kB / 0.5279 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.4061, allocations: 41 kB / 0.528 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.4062, allocations: 51.92 kB / 0.528 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4075, allocations: 0.6205 MB / 0.5286 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.4076, allocations: 3.953 kB / 0.5286 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.4076, allocations: 24 kB / 0.5286 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4076, allocations: 12 kB / 0.5287 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4087, allocations: 0.5307 MB / 0.5292 GB, free: 9.074 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.004544/0.4132, allocations: 3.66 MB / 0.5327 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.4142, allocations: 393.3 kB / 0.5331 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.4145, allocations: 201.5 kB / 0.5333 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.4165, allocations: 0.6207 MB / 0.5339 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.4165, allocations: 42.94 kB / 0.534 GB, free: 3.879 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/0.4165, allocations: 0 / 0.534 GB, free: 3.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01039/0.4269, allocations: 1.89 MB / 0.5358 GB, free: 1.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.427, allocations: 63.77 kB / 0.5359 GB, free: 1.871 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.4273, allocations: 308.5 kB / 0.5362 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4274, allocations: 33.7 kB / 0.5362 GB, free: 1.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.4276, allocations: 233.2 kB / 0.5364 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4277, allocations: 202.3 kB / 0.5366 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.4279, allocations: 118.3 kB / 0.5367 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4281, allocations: 346.8 kB / 0.5371 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.4284, allocations: 181.2 kB / 0.5372 GB, free: 456 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.4288, allocations: 336 kB / 0.5375 GB, free: 60 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1928/0.6216, allocations: 0.5383 MB / 0.5381 GB, free: 96.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.6216, allocations: 4.297 kB / 0.5381 GB, free: 96.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001709/0.6234, allocations: 0.6708 MB / 0.5387 GB, free: 96.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6234, allocations: 14.78 kB / 0.5387 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6234, allocations: 4.812 kB / 0.5387 GB, free: 96.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/0.6358, allocations: 470.2 kB / 0.5392 GB, free: 96.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.6364, allocations: 143.1 kB / 0.5393 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.6377, allocations: 2.993 MB / 0.5423 GB, free: 93.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.638, allocations: 14.44 kB / 0.5423 GB, free: 93.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.6381, allocations: 28.55 kB / 0.5423 GB, free: 93.19 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.0002054/0.6383, allocations: 192.6 kB / 0.5425 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.6385, allocations: 43.98 kB / 0.5425 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6399, allocations: 1.08 MB / 0.5436 GB, free: 92.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6399, allocations: 14.66 kB / 0.5436 GB, free: 92.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.6399, allocations: 1.219 kB / 0.5436 GB, free: 92.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009743/0.6409, allocations: 1.11 MB / 0.5447 GB, free: 91.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.6428, allocations: 1.739 MB / 0.5464 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6428, allocations: 2 kB / 0.5464 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.6431, allocations: 101.3 kB / 0.5465 GB, free: 90.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/0.6462, allocations: 354.5 kB / 0.5468 GB, free: 90.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.6463, allocations: 15.83 kB / 0.5468 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004191/0.6467, allocations: 1.154 MB / 0.548 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6467, allocations: 1.312 kB / 0.548 GB, free: 89.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.6479, allocations: 1.148 MB / 0.5491 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.648, allocations: 49.66 kB / 0.5491 GB, free: 89.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.648, allocations: 17.52 kB / 0.5491 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.6483, allocations: 10.22 kB / 0.5492 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.6483, allocations: 39.27 kB / 0.5492 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.6484, allocations: 23.09 kB / 0.5492 GB, free: 89.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.6486, allocations: 251.6 kB / 0.5495 GB, free: 89.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6486, allocations: 0 / 0.5495 GB, free: 89.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004292/0.6529, allocations: 0.9792 MB / 0.5504 GB, free: 88.94 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.02469/0.6776, allocations: 7.894 MB / 0.5581 GB, free: 84.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.679, allocations: 0.6902 MB / 0.5588 GB, free: 83.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.679, allocations: 0 / 0.5588 GB, free: 83.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.6794, allocations: 357 kB / 0.5591 GB, free: 83.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6806, allocations: 261.3 kB / 0.5594 GB, free: 83.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6823, allocations: 1.344 MB / 0.5607 GB, free: 81.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.6825, allocations: 0.8636 MB / 0.5615 GB, free: 81.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003848/0.6829, allocations: 241.5 kB / 0.5618 GB, free: 81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/0.683, allocations: 47.44 kB / 0.5618 GB, free: 80.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.683, allocations: 0 / 0.5618 GB, free: 80.95 MB / 446.1 MB Notification: Performance of Templates: time 0.03672/0.7197, allocations: 36.81 MB / 0.5978 GB, free: 44.58 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.93686767667532]