Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001232/0.001232, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002844, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001051/0.001051, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002492, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9222/0.9222, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08867/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2536/0.2536, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0228/0.2764, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.44e-05, allocations: 4.625 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.009184/0.009209, allocations: 8.567 MB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.01739, allocations: 11.07 MB / 312.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.01744, allocations: 4 kB / 312.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.01756, allocations: 39.81 kB / 312.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.02136, allocations: 1.784 MB / 314.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.486e-06/0.02137, allocations: 0 / 314.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.02147, allocations: 55.56 kB / 314.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.0215, allocations: 7.969 kB / 314.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.02164, allocations: 35.91 kB / 314.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.02167, allocations: 11.94 kB / 314.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.02168, allocations: 0 / 314.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007517/0.02919, allocations: 6.736 MB / 321.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.02922, allocations: 4 kB / 321.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.02926, allocations: 15.94 kB / 321.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008033/0.0373, allocations: 5.107 MB / 326.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.03731, allocations: 0 / 326.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03731, allocations: 0 / 326.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.03732, allocations: 0 / 326.3 MB, free: 4.668 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002626/0.03995, allocations: 1.283 MB / 327.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.03998, allocations: 12.03 kB / 327.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.04012, allocations: 31.86 kB / 327.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.0402, allocations: 113.1 kB / 327.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.04021, allocations: 4 kB / 327.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.04022, allocations: 4 kB / 327.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.162e-05/0.0403, allocations: 56.5 kB / 327.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.04031, allocations: 0 / 327.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.04032, allocations: 0 / 327.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.04032, allocations: 3.938 kB / 327.8 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.04036, allocations: 35.86 kB / 327.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.04064, allocations: 201.9 kB / 328 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.0407, allocations: 30.56 kB / 328 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.04072, allocations: 12.86 kB / 328.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.04253, allocations: 1.198 MB / 329.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.04255, allocations: 34.56 kB / 329.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.04255, allocations: 0 / 329.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001646/0.04271, allocations: 81.56 kB / 329.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.04274, allocations: 51.41 kB / 329.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.461e-05/0.04279, allocations: 106.7 kB / 329.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.0428, allocations: 25.7 kB / 329.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.04283, allocations: 88.09 kB / 329.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.04285, allocations: 31.73 kB / 329.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.04288, allocations: 25.7 kB / 329.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.04296, allocations: 314.8 kB / 330 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.04297, allocations: 8 kB / 330 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.043, allocations: 29.64 kB / 330 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.04304, allocations: 37.7 kB / 330.1 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.04304, allocations: 0 / 330.1 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.252e-05/0.04313, allocations: 74.11 kB / 330.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.04315, allocations: 11.97 kB / 330.1 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.04316, allocations: 4 kB / 330.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.04318, allocations: 0 / 330.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.04323, allocations: 11.98 kB / 330.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.04324, allocations: 0 / 330.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.04326, allocations: 4 kB / 330.2 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.04327, allocations: 0 / 330.2 MB, free: 0.5781 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.04333, allocations: 121.8 kB / 330.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.04336, allocations: 7.938 kB / 330.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.04351, allocations: 152.7 kB / 330.4 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.04356, allocations: 75.86 kB / 330.5 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.04357, allocations: 4 kB / 330.5 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.04357, allocations: 0 / 330.5 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.04384, allocations: 326.4 kB / 330.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.04384, allocations: 3.938 kB / 330.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.04388, allocations: 16 kB / 330.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.04389, allocations: 7.938 kB / 330.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.04389, allocations: 4 kB / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.0439, allocations: 0 / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0439, allocations: 0 / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0439, allocations: 4 kB / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.04402, allocations: 230.1 kB / 331.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-06/0.04403, allocations: 0 / 331.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.04406, allocations: 4 kB / 331.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.04407, allocations: 7.984 kB / 331.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.04408, allocations: 0 / 331.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.132e-05/0.04409, allocations: 8.859 kB / 331.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04409, allocations: 0 / 331.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00134/0.04543, allocations: 366.9 kB / 331.5 MB, free: 15.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008639/0.05407, allocations: 4.177 MB / 335.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.05423, allocations: 87.88 kB / 335.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.05424, allocations: 4 kB / 335.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.05427, allocations: 42.78 kB / 335.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.05454, allocations: 82.28 kB / 335.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.05615, allocations: 217.6 kB / 336.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.05619, allocations: 63.94 kB / 336.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.059e-05/0.05623, allocations: 15.94 kB / 336.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.05631, allocations: 79.34 kB / 336.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.05631, allocations: 4 kB / 336.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Templates: time 0.0177/0.07401, allocations: 19.99 MB / 356.2 MB, free: 6.391 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6644879654049873]