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.002448/0.002448, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002927/0.002927, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.599/1.599, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.252e-06/1.252e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.727e-05, allocations: 5.125 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1634/0.1635, allocations: 38.71 MB / 310.9 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04486/0.2083, allocations: 30.71 MB / 341.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.209, allocations: 7.938 kB / 341.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2103, allocations: 381.6 kB / 342 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.2118, allocations: 0.5589 MB / 342.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.2278, allocations: 5.346 MB / 347.9 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.2299, allocations: 1.374 MB / 349.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.2303, allocations: 127.5 kB / 349.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.232, allocations: 0.7285 MB / 350.1 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.2328, allocations: 398.8 kB / 350.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2329, allocations: 55.94 kB / 350.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02842/0.2613, allocations: 12.47 MB / 363.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.2617, allocations: 175.4 kB / 363.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.2622, allocations: 235.6 kB / 363.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04698/0.3092, allocations: 15.58 MB / 379 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3092, allocations: 0 / 379 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3092, allocations: 0 / 379 MB, free: 6.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3092, allocations: 0 / 379 MB, free: 6.449 MB / 330.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.008061/0.3173, allocations: 1.523 MB / 380.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3173, allocations: 11.98 kB / 380.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.3183, allocations: 194.8 kB / 380.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.3189, allocations: 331.1 kB / 381.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.319, allocations: 40.94 kB / 381.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3191, allocations: 51.95 kB / 381.2 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3205, allocations: 0.8416 MB / 382 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3205, allocations: 3.938 kB / 382 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.3206, allocations: 20.62 kB / 382 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3206, allocations: 12 kB / 382.1 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3216, allocations: 467.5 kB / 382.5 MB, free: 2.793 MB / 330.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.005426/0.3271, allocations: 3.454 MB / 386 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3281, allocations: 412.5 kB / 386.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.3284, allocations: 198.6 kB / 386.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.3302, allocations: 0.5389 MB / 387.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.3303, allocations: 41.77 kB / 387.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.3303, allocations: 0 / 387.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.009572/0.3399, allocations: 1.889 MB / 389 MB, free: 12.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3399, allocations: 63.89 kB / 389.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.3404, allocations: 372.2 kB / 389.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.3404, allocations: 37.7 kB / 389.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3406, allocations: 291.8 kB / 389.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.3408, allocations: 218.2 kB / 390 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3411, allocations: 147.9 kB / 390.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005458/0.3416, allocations: 0.5508 MB / 390.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.342, allocations: 173.2 kB / 390.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.3425, allocations: 400.7 kB / 391.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/0.3435, allocations: 0.621 MB / 391.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3435, allocations: 0 / 391.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001597/0.3451, allocations: 0.7311 MB / 392.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3451, allocations: 8.562 kB / 392.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3451, allocations: 4 kB / 392.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.3574, allocations: 482.4 kB / 393.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.358, allocations: 143.8 kB / 393.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.3615, allocations: 4.354 MB / 397.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3619, allocations: 16 kB / 397.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.3619, allocations: 31.98 kB / 397.6 MB, free: 3.043 MB / 346.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 (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.0004419/0.3624, allocations: 232.6 kB / 397.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.3627, allocations: 83.45 kB / 397.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.3643, allocations: 0.8362 MB / 398.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.3643, allocations: 15.98 kB / 398.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3643, allocations: 0 / 398.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.3656, allocations: 0.862 MB / 399.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.3679, allocations: 1.406 MB / 401.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3679, allocations: 0 / 401.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.3683, allocations: 99.83 kB / 401.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/0.3715, allocations: 346.7 kB / 401.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.3715, allocations: 15.98 kB / 401.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.3727, allocations: 1.647 MB / 403.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3727, allocations: 0 / 403.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3744, allocations: 1.028 MB / 404.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.3745, allocations: 47.59 kB / 404.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.3746, allocations: 23.86 kB / 404.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3749, allocations: 12 kB / 404.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.3749, allocations: 36.56 kB / 404.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.375, allocations: 19.98 kB / 404.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003105/0.3753, allocations: 275 kB / 404.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 404.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005713/0.381, allocations: 0.9818 MB / 405.6 MB, free: 10.85 MB / 362.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.03206/0.4131, allocations: 8.004 MB / 413.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.4149, allocations: 0.7385 MB / 414.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4149, allocations: 1.125 kB / 414.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.4156, allocations: 320.8 kB / 414.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.417, allocations: 246.3 kB / 414.9 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4193, allocations: 1.207 MB / 416.1 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4196, allocations: 268.7 kB / 416.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.4201, allocations: 228 kB / 416.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4202, allocations: 52.48 kB / 416.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4202, allocations: 0 / 416.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of Templates: time 0.162/0.5823, allocations: 36.09 MB / 452.7 MB, free: 111.5 MB / 378.7 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=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","/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.268340084934607]