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.001545/0.001545, 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.001414/0.001414, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.3 MB / 258 MB, free: 8.23 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.001943/0.001943, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04167/0.3041, allocations: 38.34 MB / 470.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03664/0.3407, allocations: 30.87 MB / 0.4896 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.3413, allocations: 11.94 kB / 0.4896 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.3428, allocations: 425.7 kB / 0.49 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3443, allocations: 0.5361 MB / 0.4905 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.3604, allocations: 5.276 MB / 0.4957 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.3627, allocations: 1.386 MB / 0.497 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.363, allocations: 123 kB / 0.4971 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3643, allocations: 0.5333 MB / 0.4977 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.3654, allocations: 466.1 kB / 0.4981 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.3656, allocations: 56 kB / 0.4982 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02882/0.3945, allocations: 12.96 MB / 0.5108 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.3948, allocations: 159.4 kB / 0.511 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006451/0.3954, allocations: 318.8 kB / 0.5113 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04477/0.4402, allocations: 14.95 MB / 0.5259 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4402, allocations: 4 kB / 0.5259 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4402, allocations: 0 / 0.5259 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.4402, allocations: 4 kB / 0.5259 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.009144/0.4494, allocations: 1.396 MB / 0.5272 GB, free: 10.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4494, allocations: 12.03 kB / 0.5272 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.4504, allocations: 103.6 kB / 0.5273 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.4511, allocations: 332.2 kB / 0.5277 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.4511, allocations: 37 kB / 0.5277 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/0.4512, allocations: 40 kB / 0.5277 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.4527, allocations: 0.6244 MB / 0.5283 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.4527, allocations: 7.891 kB / 0.5284 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.4528, allocations: 24 kB / 0.5284 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4528, allocations: 16 kB / 0.5284 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.454, allocations: 0.5307 MB / 0.5289 GB, free: 9.18 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.005283/0.4593, allocations: 3.656 MB / 0.5325 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.4605, allocations: 403.5 kB / 0.5329 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.4608, allocations: 193.5 kB / 0.533 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/0.463, allocations: 0.6207 MB / 0.5337 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.4631, allocations: 38.94 kB / 0.5337 GB, free: 3.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.495e-06/0.4631, allocations: 0 / 0.5337 GB, free: 3.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01089/0.474, allocations: 1.894 MB / 0.5355 GB, free: 2.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.474, allocations: 63.72 kB / 0.5356 GB, free: 1.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.4745, allocations: 308.5 kB / 0.5359 GB, free: 1.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.4745, allocations: 33.7 kB / 0.5359 GB, free: 1.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4747, allocations: 241.1 kB / 0.5362 GB, free: 1.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.4749, allocations: 198.3 kB / 0.5363 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.4751, allocations: 114.3 kB / 0.5365 GB, free: 1.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.4753, allocations: 350.8 kB / 0.5368 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.4756, allocations: 181.2 kB / 0.537 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.4761, allocations: 328.1 kB / 0.5373 GB, free: 176 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2079/0.6841, allocations: 0.552 MB / 0.5378 GB, free: 96.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6841, allocations: 1.094 kB / 0.5378 GB, free: 96.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00162/0.6857, allocations: 0.6712 MB / 0.5385 GB, free: 96.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6857, allocations: 10.75 kB / 0.5385 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6857, allocations: 5.594 kB / 0.5385 GB, free: 96.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/0.6981, allocations: 469.9 kB / 0.5389 GB, free: 96.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.6988, allocations: 143.8 kB / 0.5391 GB, free: 96.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.7002, allocations: 2.985 MB / 0.542 GB, free: 93.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.7005, allocations: 18.59 kB / 0.542 GB, free: 93.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.7006, allocations: 29.25 kB / 0.542 GB, free: 93.34 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.0002271/0.7008, allocations: 193 kB / 0.5422 GB, free: 93.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.701, allocations: 43.47 kB / 0.5423 GB, free: 93.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.7025, allocations: 1.081 MB / 0.5433 GB, free: 92.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.7025, allocations: 9.75 kB / 0.5433 GB, free: 92.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7025, allocations: 1.344 kB / 0.5433 GB, free: 92.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.7035, allocations: 1.116 MB / 0.5444 GB, free: 92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.7057, allocations: 1.737 MB / 0.5461 GB, free: 91.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7057, allocations: 1.375 kB / 0.5461 GB, free: 91.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.7061, allocations: 103.1 kB / 0.5462 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.7092, allocations: 354.8 kB / 0.5465 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.7093, allocations: 18.08 kB / 0.5466 GB, free: 91.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/0.7097, allocations: 1.151 MB / 0.5477 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7097, allocations: 0 / 0.5477 GB, free: 89.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.711, allocations: 1.154 MB / 0.5488 GB, free: 89.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.7111, allocations: 43.58 kB / 0.5489 GB, free: 89.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.7112, allocations: 19.61 kB / 0.5489 GB, free: 89.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.7114, allocations: 9.469 kB / 0.5489 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.7115, allocations: 42.69 kB / 0.5489 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.7116, allocations: 23.81 kB / 0.5489 GB, free: 89.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.7118, allocations: 249.5 kB / 0.5492 GB, free: 89.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7118, allocations: 0.8125 kB / 0.5492 GB, free: 89.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005276/0.7171, allocations: 0.985 MB / 0.5501 GB, free: 89.09 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.02661/0.7437, allocations: 7.876 MB / 0.5578 GB, free: 84.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.7451, allocations: 0.6922 MB / 0.5585 GB, free: 83.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7451, allocations: 0.5 kB / 0.5585 GB, free: 83.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.7456, allocations: 355.8 kB / 0.5589 GB, free: 83.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.747, allocations: 266.6 kB / 0.5591 GB, free: 83.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.7488, allocations: 1.355 MB / 0.5604 GB, free: 82.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.749, allocations: 0.8675 MB / 0.5613 GB, free: 81.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.7494, allocations: 243.2 kB / 0.5615 GB, free: 81.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.7495, allocations: 55.09 kB / 0.5616 GB, free: 81.11 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7495, allocations: 0 / 0.5616 GB, free: 81.11 MB / 446.1 MB Notification: Performance of Templates: time 0.03974/0.7893, allocations: 36.76 MB / 0.5975 GB, free: 44.76 MB / 446.1 MB " [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.970663544721901]