Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009419/0.0009419, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.0009405/0.0009405, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9312/0.9312, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.758e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0332/0.03323, allocations: 38.74 MB / 289.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.06032, allocations: 30.69 MB / 320.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.0609, allocations: 7.938 kB / 320.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.06198, allocations: 381.6 kB / 320.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.06303, allocations: 0.5511 MB / 321.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.0754, allocations: 5.349 MB / 326.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.07707, allocations: 1.374 MB / 328.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.07733, allocations: 118.9 kB / 328.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.07849, allocations: 0.7323 MB / 329 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.07899, allocations: 406.8 kB / 329.4 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.924e-05/0.07906, allocations: 56 kB / 329.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.09626, allocations: 12.46 MB / 342 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003307/0.09659, allocations: 163.4 kB / 342.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.09708, allocations: 243.6 kB / 342.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1565/0.2536, allocations: 15.26 MB / 357.6 MB, free: 33.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2536, allocations: 0.9844 kB / 357.6 MB, free: 33.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2536, allocations: 0 / 357.6 MB, free: 33.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.2536, allocations: 0 / 357.6 MB, free: 33.59 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.008146/0.2618, allocations: 1.49 MB / 359.1 MB, free: 32.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2618, allocations: 15.64 kB / 359.1 MB, free: 32.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.2624, allocations: 193.8 kB / 359.3 MB, free: 32.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.2628, allocations: 328.3 kB / 359.6 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2628, allocations: 34.97 kB / 359.7 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2629, allocations: 54.3 kB / 359.7 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.2636, allocations: 0.7294 MB / 360.5 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.2637, allocations: 3.281 kB / 360.5 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2637, allocations: 21.81 kB / 360.5 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2637, allocations: 15.38 kB / 360.5 MB, free: 32.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.2642, allocations: 340.8 kB / 360.8 MB, free: 32.02 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.002237/0.2665, allocations: 3.266 MB / 364.1 MB, free: 30.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.2671, allocations: 315.1 kB / 364.4 MB, free: 30.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2673, allocations: 135 kB / 364.5 MB, free: 30.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008197/0.2681, allocations: 0.5398 MB / 365.1 MB, free: 30.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2681, allocations: 48.08 kB / 365.1 MB, free: 30.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/0.2681, allocations: 0 / 365.1 MB, free: 30.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.005383/0.2735, allocations: 1.536 MB / 366.7 MB, free: 29.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.2735, allocations: 57.88 kB / 366.7 MB, free: 29.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.2737, allocations: 324.7 kB / 367 MB, free: 29.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2738, allocations: 32.64 kB / 367.1 MB, free: 29.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2739, allocations: 295.2 kB / 367.3 MB, free: 29.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.274, allocations: 198.5 kB / 367.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2741, allocations: 120.5 kB / 367.7 MB, free: 29.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.2741, allocations: 0.5204 MB / 368.2 MB, free: 28.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2743, allocations: 105.9 kB / 368.3 MB, free: 28.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.2745, allocations: 311 kB / 368.6 MB, free: 28.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.275, allocations: 468.4 kB / 369 MB, free: 28.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.275, allocations: 4.781 kB / 369 MB, free: 28.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007308/0.2757, allocations: 0.5518 MB / 369.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2757, allocations: 8.75 kB / 369.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2757, allocations: 3.031 kB / 369.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004397/0.2801, allocations: 434.3 kB / 370 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2804, allocations: 143.9 kB / 370.2 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.2816, allocations: 4.232 MB / 374.4 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.2817, allocations: 16.66 kB / 374.4 MB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.2818, allocations: 35.97 kB / 374.5 MB, free: 23.7 MB / 330.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.0001359/0.2819, allocations: 192.6 kB / 374.6 MB, free: 23.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.282, allocations: 59.16 kB / 374.7 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.2828, allocations: 0.7428 MB / 375.4 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2828, allocations: 13.2 kB / 375.5 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2828, allocations: 0.875 kB / 375.5 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005454/0.2834, allocations: 0.7673 MB / 376.2 MB, free: 22.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2846, allocations: 1.212 MB / 377.4 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2846, allocations: 0 / 377.4 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2848, allocations: 97.77 kB / 377.5 MB, free: 22.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.2861, allocations: 323 kB / 377.9 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.2862, allocations: 10.94 kB / 377.9 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002883/0.2865, allocations: 1.598 MB / 379.5 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2865, allocations: 0 / 379.5 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.2872, allocations: 0.8241 MB / 380.3 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.2873, allocations: 47.06 kB / 380.3 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.2873, allocations: 17.7 kB / 380.3 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2874, allocations: 14.75 kB / 380.4 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2875, allocations: 35.52 kB / 380.4 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.2875, allocations: 25.94 kB / 380.4 MB, free: 20.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.2876, allocations: 234.5 kB / 380.6 MB, free: 20.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2876, allocations: 0 / 380.6 MB, free: 20.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005393/0.293, allocations: 0.9771 MB / 381.6 MB, free: 20.4 MB / 330.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.02254/0.3156, allocations: 8.015 MB / 389.6 MB, free: 16.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.3168, allocations: 0.6018 MB / 390.2 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3169, allocations: 0 / 390.2 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.3172, allocations: 255.7 kB / 390.5 MB, free: 16.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.318, allocations: 248.8 kB / 390.7 MB, free: 16.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3198, allocations: 1.133 MB / 391.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.175e-05/0.3199, allocations: 142.8 kB / 392 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.3203, allocations: 236.7 kB / 392.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3203, allocations: 46.59 kB / 392.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3203, allocations: 0 / 392.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of Templates: time 0.03357/0.3539, allocations: 36.07 MB / 428.4 MB, free: 1.535 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.085013949079439]