Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2522, allocations: 52.13 MB / 420.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04181/0.294, allocations: 38.22 MB / 459.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03511/0.3291, allocations: 30.81 MB / 489.9 MB, free: 9.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.3297, allocations: 7.938 kB / 489.9 MB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.331, allocations: 429.6 kB / 490.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3325, allocations: 0.5283 MB / 490.9 MB, free: 9.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.3485, allocations: 5.237 MB / 496.1 MB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.3514, allocations: 1.367 MB / 497.5 MB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3518, allocations: 130.6 kB / 497.6 MB, free: 2.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.3528, allocations: 0.5411 MB / 498.1 MB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.3533, allocations: 458.2 kB / 498.6 MB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.3534, allocations: 52 kB / 498.6 MB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/0.3777, allocations: 12.88 MB / 0.4995 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.3781, allocations: 159.4 kB / 0.4997 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.3786, allocations: 318.8 kB / 0.5 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03526/0.4138, allocations: 14.92 MB / 0.5145 GB, free: 4.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4139, allocations: 4 kB / 0.5145 GB, free: 4.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4139, allocations: 0 / 0.5145 GB, free: 4.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4139, allocations: 0 / 0.5145 GB, free: 4.902 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.008073/0.4219, allocations: 1.479 MB / 0.516 GB, free: 3.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.422, allocations: 11.89 kB / 0.516 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/0.4227, allocations: 99.61 kB / 0.5161 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.4234, allocations: 390.1 kB / 0.5165 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.4234, allocations: 37 kB / 0.5165 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.4235, allocations: 48 kB / 0.5166 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.4248, allocations: 0.6244 MB / 0.5172 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.4248, allocations: 0 / 0.5172 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.4249, allocations: 20 kB / 0.5172 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.4249, allocations: 12 kB / 0.5172 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.426, allocations: 0.5384 MB / 0.5177 GB, free: 1.508 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.005051/0.4311, allocations: 3.804 MB / 0.5214 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.4321, allocations: 399.8 kB / 0.5218 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.4324, allocations: 197 kB / 0.522 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003739/0.4362, allocations: 3.463 MB / 0.5254 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4362, allocations: 46.86 kB / 0.5254 GB, free: 8.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.053e-06/0.4362, allocations: 0 / 0.5254 GB, free: 8.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009742/0.4459, allocations: 2.026 MB / 0.5274 GB, free: 6.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.446, allocations: 67.77 kB / 0.5275 GB, free: 6.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.4464, allocations: 300.5 kB / 0.5278 GB, free: 6.105 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.4464, allocations: 37.7 kB / 0.5278 GB, free: 6.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4466, allocations: 241.1 kB / 0.528 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4467, allocations: 202.3 kB / 0.5282 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4469, allocations: 118.3 kB / 0.5283 GB, free: 5.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4471, allocations: 350.8 kB / 0.5287 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.4475, allocations: 177.2 kB / 0.5288 GB, free: 4.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.448, allocations: 339.3 kB / 0.5292 GB, free: 4.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.4488, allocations: 0.5407 MB / 0.5297 GB, free: 3.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4489, allocations: 8 kB / 0.5297 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001422/0.4503, allocations: 0.6741 MB / 0.5304 GB, free: 3.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4503, allocations: 15.88 kB / 0.5304 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4503, allocations: 4 kB / 0.5304 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009416/0.4597, allocations: 438 kB / 0.5308 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.4603, allocations: 151.9 kB / 0.5309 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2019/0.6622, allocations: 3.081 MB / 0.5339 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.6627, allocations: 21.84 kB / 0.534 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.6627, allocations: 29.69 kB / 0.534 GB, free: 103.5 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.0002651/0.663, allocations: 191.5 kB / 0.5342 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.6631, allocations: 43.31 kB / 0.5342 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.6648, allocations: 1.046 MB / 0.5352 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.6649, allocations: 16.91 kB / 0.5353 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6649, allocations: 2.672 kB / 0.5353 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.6659, allocations: 1.084 MB / 0.5363 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.6678, allocations: 1.738 MB / 0.538 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6678, allocations: 0 / 0.538 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.6682, allocations: 100.9 kB / 0.5381 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.6713, allocations: 354 kB / 0.5384 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.6714, allocations: 14.84 kB / 0.5385 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004221/0.6718, allocations: 1.148 MB / 0.5396 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6718, allocations: 0.7812 kB / 0.5396 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.673, allocations: 1.136 MB / 0.5407 GB, free: 99.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.6731, allocations: 126.8 kB / 0.5408 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.6732, allocations: 12.75 kB / 0.5408 GB, free: 99.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.6734, allocations: 12.58 kB / 0.5408 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.6735, allocations: 37.83 kB / 0.5409 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.6735, allocations: 23.52 kB / 0.5409 GB, free: 99.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.6737, allocations: 251.8 kB / 0.5411 GB, free: 99.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6737, allocations: 0.8125 kB / 0.5411 GB, free: 99.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004611/0.6783, allocations: 0.9757 MB / 0.5421 GB, free: 99.47 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.02699/0.7053, allocations: 7.874 MB / 0.5498 GB, free: 95.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.7068, allocations: 0.692 MB / 0.5505 GB, free: 94.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7068, allocations: 0 / 0.5505 GB, free: 94.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.7072, allocations: 348.2 kB / 0.5508 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.7085, allocations: 260.2 kB / 0.551 GB, free: 94.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.7102, allocations: 1.347 MB / 0.5523 GB, free: 93.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.7105, allocations: 0.8674 MB / 0.5532 GB, free: 92.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.7109, allocations: 247.2 kB / 0.5534 GB, free: 92.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.711, allocations: 55.09 kB / 0.5535 GB, free: 92 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.711, allocations: 0 / 0.5535 GB, free: 92 MB / 446.1 MB Notification: Performance of Templates: time 0.03746/0.7484, allocations: 36.5 MB / 0.5891 GB, free: 56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.674203935079277]