Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 217 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 47.91 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 53.36 MB / 431.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04508/0.2847, allocations: 38.33 MB / 470 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03987/0.3246, allocations: 30.86 MB / 0.4891 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3251, allocations: 11.94 kB / 0.4891 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3263, allocations: 421.7 kB / 0.4895 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.3274, allocations: 0.5439 MB / 0.49 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01415/0.3415, allocations: 5.277 MB / 0.4952 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.3435, allocations: 1.375 MB / 0.4965 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.3438, allocations: 127 kB / 0.4966 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000999/0.3448, allocations: 0.5411 MB / 0.4972 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.3455, allocations: 466.1 kB / 0.4976 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.026e-05/0.3456, allocations: 56 kB / 0.4977 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.3704, allocations: 12.96 MB / 0.5103 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.3707, allocations: 155.5 kB / 0.5105 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005368/0.3712, allocations: 322.8 kB / 0.5108 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0366/0.4078, allocations: 14.95 MB / 0.5254 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4078, allocations: 0 / 0.5254 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4078, allocations: 0 / 0.5254 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.4078, allocations: 0 / 0.5254 GB, free: 12.4 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.007941/0.4158, allocations: 1.408 MB / 0.5267 GB, free: 10.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4158, allocations: 8.031 kB / 0.5267 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008348/0.4167, allocations: 99.56 kB / 0.5268 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.4173, allocations: 332.2 kB / 0.5272 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.4173, allocations: 33 kB / 0.5272 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.4174, allocations: 52 kB / 0.5272 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4187, allocations: 0.6205 MB / 0.5278 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.4187, allocations: 7.953 kB / 0.5279 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.4188, allocations: 27.88 kB / 0.5279 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4188, allocations: 12 kB / 0.5279 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4199, allocations: 0.5307 MB / 0.5284 GB, free: 9.176 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.004686/0.4246, allocations: 3.663 MB / 0.532 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.4256, allocations: 398 kB / 0.5324 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.4259, allocations: 195.5 kB / 0.5326 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/0.428, allocations: 0.6207 MB / 0.5332 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.428, allocations: 38.94 kB / 0.5332 GB, free: 3.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/0.428, allocations: 4 kB / 0.5332 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01068/0.4387, allocations: 1.886 MB / 0.535 GB, free: 2.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4388, allocations: 63.78 kB / 0.5351 GB, free: 1.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.4392, allocations: 308.5 kB / 0.5354 GB, free: 1.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.4392, allocations: 37.7 kB / 0.5354 GB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4394, allocations: 229.2 kB / 0.5357 GB, free: 1.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4396, allocations: 202.3 kB / 0.5358 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.4398, allocations: 118.3 kB / 0.536 GB, free: 1.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.44, allocations: 350.7 kB / 0.5363 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.4403, allocations: 181.2 kB / 0.5365 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.4408, allocations: 332.1 kB / 0.5368 GB, free: 168 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2027/0.6435, allocations: 0.5409 MB / 0.5373 GB, free: 96.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.6435, allocations: 2.938 kB / 0.5373 GB, free: 96.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00157/0.645, allocations: 0.6709 MB / 0.538 GB, free: 96.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6451, allocations: 15.28 kB / 0.538 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6451, allocations: 4.219 kB / 0.538 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/0.6574, allocations: 470.7 kB / 0.5384 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.6579, allocations: 140.3 kB / 0.5386 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.6594, allocations: 2.99 MB / 0.5415 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.6597, allocations: 15.2 kB / 0.5415 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.6597, allocations: 31.12 kB / 0.5415 GB, free: 93.33 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.0002284/0.66, allocations: 196.5 kB / 0.5417 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6602, allocations: 44.42 kB / 0.5418 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.6616, allocations: 1.083 MB / 0.5428 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6616, allocations: 8.719 kB / 0.5428 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.6616, allocations: 2.25 kB / 0.5428 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.6626, allocations: 1.114 MB / 0.5439 GB, free: 91.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.6646, allocations: 1.736 MB / 0.5456 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6646, allocations: 1.031 kB / 0.5456 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.665, allocations: 99.25 kB / 0.5457 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.668, allocations: 359 kB / 0.5461 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.6681, allocations: 13.8 kB / 0.5461 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004255/0.6685, allocations: 1.15 MB / 0.5472 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6685, allocations: 3.969 kB / 0.5472 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.6698, allocations: 1.15 MB / 0.5483 GB, free: 89.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.6698, allocations: 53.47 kB / 0.5484 GB, free: 89.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.6699, allocations: 12.83 kB / 0.5484 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.6701, allocations: 11.84 kB / 0.5484 GB, free: 89.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.6702, allocations: 35.25 kB / 0.5484 GB, free: 89.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.6702, allocations: 27.38 kB / 0.5485 GB, free: 89.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.6704, allocations: 248.7 kB / 0.5487 GB, free: 89.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6704, allocations: 0 / 0.5487 GB, free: 89.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004991/0.6754, allocations: 0.9805 MB / 0.5496 GB, free: 89.07 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.02634/0.7018, allocations: 7.896 MB / 0.5574 GB, free: 84.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.7032, allocations: 0.6895 MB / 0.558 GB, free: 83.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7033, allocations: 4 kB / 0.558 GB, free: 83.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.7038, allocations: 352.5 kB / 0.5584 GB, free: 83.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.705, allocations: 261.9 kB / 0.5586 GB, free: 83.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.7068, allocations: 1.351 MB / 0.5599 GB, free: 82.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.707, allocations: 0.8596 MB / 0.5608 GB, free: 81.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.7074, allocations: 241.7 kB / 0.561 GB, free: 81.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.7075, allocations: 51.38 kB / 0.5611 GB, free: 81.13 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.7075, allocations: 0 / 0.5611 GB, free: 81.13 MB / 446.1 MB Notification: Performance of Templates: time 0.0393/0.7468, allocations: 36.8 MB / 0.597 GB, free: 44.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.237091565970331]