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.001281/0.001281, allocations: 117.8 kB / 18.4 MB, free: 4.66 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.001299/0.001299, allocations: 189.3 kB / 21.35 MB, free: 1.723 MB / 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.421/1.421, allocations: 222.9 MB / 247 MB, free: 4.328 MB / 190.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.001459/0.001459, allocations: 47.92 kB / 358.7 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 49.43 MB / 408.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2613/0.366, allocations: 37.63 MB / 445.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03654/0.4026, allocations: 30.61 MB / 476.3 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007651/0.4034, allocations: 13.59 kB / 476.3 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.4047, allocations: 408.4 kB / 476.7 MB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.4062, allocations: 0.5044 MB / 477.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.4236, allocations: 5.136 MB / 482.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.4259, allocations: 1.359 MB / 483.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.4262, allocations: 169.1 kB / 483.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.4273, allocations: 0.5265 MB / 484.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.4279, allocations: 449.3 kB / 484.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.428, allocations: 52.25 kB / 484.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0269/0.4549, allocations: 12.8 MB / 497.7 MB, free: 128 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.4554, allocations: 147.7 kB / 497.9 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.4561, allocations: 322.7 kB / 498.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04666/0.5028, allocations: 14.93 MB / 0.5011 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5028, allocations: 0 / 0.5011 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5028, allocations: 0 / 0.5011 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5028, allocations: 0 / 0.5011 GB, free: 0.7188 MB / 398.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.008814/0.5117, allocations: 1.477 MB / 0.5025 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5117, allocations: 11.89 kB / 0.5025 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.5125, allocations: 99.62 kB / 0.5026 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.5132, allocations: 390.1 kB / 0.503 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5132, allocations: 37 kB / 0.503 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.372e-05/0.5133, allocations: 44 kB / 0.5031 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5145, allocations: 0.6244 MB / 0.5037 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.5145, allocations: 7.938 kB / 0.5037 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.5146, allocations: 24 kB / 0.5037 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5146, allocations: 12 kB / 0.5037 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5157, allocations: 0.5268 MB / 0.5043 GB, free: 13.33 MB / 414.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.004258/0.5199, allocations: 3.8 MB / 0.508 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.5209, allocations: 418.7 kB / 0.5084 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.5212, allocations: 213.4 kB / 0.5086 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003554/0.5248, allocations: 3.463 MB / 0.5119 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.5249, allocations: 39.44 kB / 0.512 GB, free: 4.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 2.615e-06/0.5249, allocations: 0 / 0.512 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009457/0.5343, allocations: 2.044 MB / 0.514 GB, free: 2.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5344, allocations: 59.83 kB / 0.514 GB, free: 2.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.5348, allocations: 308.5 kB / 0.5143 GB, free: 1.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.5349, allocations: 37.7 kB / 0.5144 GB, free: 1.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.535, allocations: 237.1 kB / 0.5146 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.5352, allocations: 198.3 kB / 0.5148 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.5354, allocations: 114.3 kB / 0.5149 GB, free: 1.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5356, allocations: 354.8 kB / 0.5152 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.5359, allocations: 177.2 kB / 0.5154 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.5363, allocations: 328 kB / 0.5157 GB, free: 400 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.5371, allocations: 0.5493 MB / 0.5163 GB, free: 15.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5371, allocations: 0 / 0.5163 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001303/0.5384, allocations: 0.6746 MB / 0.5169 GB, free: 15.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5385, allocations: 8 kB / 0.5169 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5385, allocations: 7.938 kB / 0.5169 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008937/0.5474, allocations: 454.4 kB / 0.5174 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.5481, allocations: 143.8 kB / 0.5175 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.5505, allocations: 3.076 MB / 0.5205 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.5508, allocations: 23.92 kB / 0.5205 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.5509, allocations: 28 kB / 0.5205 GB, free: 11.14 MB / 430.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.0002797/0.5512, allocations: 192.2 kB / 0.5207 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.5513, allocations: 51.7 kB / 0.5208 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.5531, allocations: 1.053 MB / 0.5218 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.5532, allocations: 7.984 kB / 0.5218 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5532, allocations: 0 / 0.5218 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/0.5548, allocations: 1.095 MB / 0.5229 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.5573, allocations: 1.734 MB / 0.5246 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5573, allocations: 8 kB / 0.5246 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.5577, allocations: 95.89 kB / 0.5247 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/0.561, allocations: 357 kB / 0.525 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.5611, allocations: 23.94 kB / 0.525 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008499/0.5619, allocations: 1.14 MB / 0.5262 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.562, allocations: 3.938 kB / 0.5262 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.5637, allocations: 1.129 MB / 0.5273 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.5639, allocations: 120.8 kB / 0.5274 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.564, allocations: 19.98 kB / 0.5274 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.5642, allocations: 16.03 kB / 0.5274 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.5643, allocations: 36.52 kB / 0.5274 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.5644, allocations: 23.98 kB / 0.5275 GB, free: 3.801 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.5647, allocations: 243 kB / 0.5277 GB, free: 3.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5647, allocations: 0 / 0.5277 GB, free: 3.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005803/0.5705, allocations: 0.9779 MB / 0.5287 GB, free: 2.586 MB / 430.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.03108/0.6016, allocations: 7.884 MB / 0.5364 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.6033, allocations: 0.7123 MB / 0.5371 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6034, allocations: 4 kB / 0.5371 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.604, allocations: 371.5 kB / 0.5374 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.6055, allocations: 268.8 kB / 0.5377 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.608, allocations: 1.374 MB / 0.539 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.6085, allocations: 0.8685 MB / 0.5399 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6087, allocations: 59.42 kB / 0.5399 GB, free: 6.965 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6087, allocations: 0 / 0.5399 GB, free: 6.965 MB / 446.1 MB Notification: Performance of Templates: time 0.05083/0.6595, allocations: 38.7 MB / 0.5777 GB, free: 240 kB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.778670358005911]