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.00089/0.00089, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.0009225/0.0009225, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9271/0.9271, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.342e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01252/0.01254, allocations: 11.75 MB / 285.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.01953, allocations: 9.336 MB / 295.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.01969, allocations: 11.94 kB / 295.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.02008, allocations: 182.8 kB / 295.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.02065, allocations: 0.559 MB / 295.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.02342, allocations: 2.008 MB / 298 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008747/0.02429, allocations: 1.414 MB / 299.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.02446, allocations: 115 kB / 299.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.02498, allocations: 0.7093 MB / 300.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003359/0.02532, allocations: 394.8 kB / 300.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.02537, allocations: 56 kB / 300.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.03009, allocations: 5.348 MB / 306 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.03021, allocations: 163.5 kB / 306.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.03038, allocations: 243.6 kB / 306.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.03644, allocations: 5.04 MB / 311.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.03644, allocations: 0 / 311.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.03644, allocations: 3.984 kB / 311.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.03645, allocations: 0 / 311.4 MB, free: 14.85 MB / 298.7 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.001668/0.03812, allocations: 1.005 MB / 312.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.03815, allocations: 8.031 kB / 312.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.03872, allocations: 194.8 kB / 312.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.03901, allocations: 315.1 kB / 312.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.03904, allocations: 37 kB / 313 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.0391, allocations: 55.94 kB / 313 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.03966, allocations: 0.6892 MB / 313.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.03968, allocations: 7.922 kB / 313.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.03971, allocations: 24 kB / 313.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.03972, allocations: 16 kB / 313.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.04009, allocations: 282.5 kB / 314 MB, free: 12.05 MB / 298.7 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.002354/0.04244, allocations: 3.185 MB / 317.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.04285, allocations: 303.1 kB / 317.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.04296, allocations: 112.3 kB / 317.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.04321, allocations: 164.2 kB / 317.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.04323, allocations: 37.77 kB / 317.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.483e-06/0.04323, allocations: 0 / 317.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004332/0.04757, allocations: 1.416 MB / 319.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.04759, allocations: 63.91 kB / 319.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.04775, allocations: 324 kB / 319.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.04778, allocations: 29.7 kB / 319.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.04789, allocations: 291.7 kB / 319.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.04798, allocations: 202.2 kB / 320.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.04809, allocations: 131.9 kB / 320.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.04821, allocations: 0.5156 MB / 320.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.0483, allocations: 77.25 kB / 320.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.04848, allocations: 296.6 kB / 321.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.0488, allocations: 427.4 kB / 321.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0488, allocations: 0 / 321.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006123/0.04941, allocations: 0.5192 MB / 322.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.04943, allocations: 8 kB / 322.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.04943, allocations: 7.984 kB / 322.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/0.05528, allocations: 454.8 kB / 322.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.05557, allocations: 147.8 kB / 322.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.0572, allocations: 4.215 MB / 326.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.05732, allocations: 16 kB / 326.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.05735, allocations: 23.98 kB / 326.9 MB, free: 14.53 MB / 314.7 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.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.0001275/0.05748, allocations: 196.4 kB / 327.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.05762, allocations: 75.52 kB / 327.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.05826, allocations: 0.6612 MB / 327.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.05827, allocations: 4 kB / 327.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.05827, allocations: 4 kB / 327.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004438/0.05871, allocations: 0.698 MB / 328.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.05966, allocations: 1.11 MB / 329.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.05966, allocations: 0 / 329.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.05986, allocations: 95.89 kB / 329.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.06123, allocations: 318.7 kB / 330.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.06125, allocations: 19.98 kB / 330.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006701/0.06192, allocations: 1.584 MB / 331.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.06192, allocations: 0 / 331.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.06255, allocations: 0.7626 MB / 332.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.06259, allocations: 39.66 kB / 332.5 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.06263, allocations: 15.95 kB / 332.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.06275, allocations: 15.94 kB / 332.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.06278, allocations: 36.42 kB / 332.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.06281, allocations: 19.98 kB / 332.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.06291, allocations: 226.9 kB / 332.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06291, allocations: 64 / 332.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001143/0.06406, allocations: 431.1 kB / 333.2 MB, free: 7.996 MB / 314.7 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.007431/0.07149, allocations: 3.488 MB / 336.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006329/0.07212, allocations: 0.556 MB / 337.3 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.07212, allocations: 0 / 337.3 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.07241, allocations: 236.8 kB / 337.5 MB, free: 3.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.07308, allocations: 261.2 kB / 337.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.07466, allocations: 1.124 MB / 338.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.07474, allocations: 136 kB / 339 MB, free: 2.129 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.07502, allocations: 205.5 kB / 339.2 MB, free: 1.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.07535, allocations: 262 kB / 339.5 MB, free: 1.672 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.07535, allocations: 0 / 339.5 MB, free: 1.672 MB / 314.7 MB Notification: Performance of Templates: time 0.1187/0.1941, allocations: 25.04 MB / 364.5 MB, free: 67.93 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3149788388982415]