Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001099/0.001099, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001271/0.001271, allocations: 167.6 kB / 24.82 MB, free: 9.266 MB / 18.57 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2787/0.2787, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.789e-05, allocations: 2.312 kB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01125/0.01129, allocations: 8.452 MB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02147, allocations: 10.86 MB / 395.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.02151, allocations: 0 / 395.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.02171, allocations: 39.75 kB / 395.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.02508, allocations: 1.894 MB / 397.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.02509, allocations: 0 / 397.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.02517, allocations: 43.69 kB / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.02521, allocations: 3.984 kB / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.02537, allocations: 35.84 kB / 397.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.02541, allocations: 11.98 kB / 397.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.02542, allocations: 0 / 397.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007522/0.03294, allocations: 6.603 MB / 404.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.03296, allocations: 11.92 kB / 404.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.03299, allocations: 12 kB / 404.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007611/0.0406, allocations: 5.333 MB / 409.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.04061, allocations: 0 / 409.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.04061, allocations: 0 / 409.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.04062, allocations: 0 / 409.7 MB, free: 3.031 MB / 378.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.001746/0.04237, allocations: 0.5993 MB / 410.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.04241, allocations: 8.031 kB / 410.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.04254, allocations: 27.88 kB / 410.4 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.04261, allocations: 116 kB / 410.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.04263, allocations: 0 / 410.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.04263, allocations: 4 kB / 410.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.04274, allocations: 49.69 kB / 410.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.04275, allocations: 0 / 410.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.04276, allocations: 7.938 kB / 410.6 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.04277, allocations: 3.938 kB / 410.6 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.04281, allocations: 27.97 kB / 410.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.04317, allocations: 284.3 kB / 410.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.04322, allocations: 35.16 kB / 410.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.04325, allocations: 35.59 kB / 410.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.04473, allocations: 0.807 MB / 411.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.04476, allocations: 37.33 kB / 411.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.871e-06/0.04477, allocations: 3.984 kB / 411.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001972/0.04497, allocations: 89.62 kB / 411.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.04499, allocations: 59.39 kB / 411.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.04507, allocations: 157.9 kB / 412.1 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.04508, allocations: 25.7 kB / 412.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.04513, allocations: 134.8 kB / 412.2 MB, free: 376 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.04515, allocations: 31.73 kB / 412.3 MB, free: 344 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.04519, allocations: 31.36 kB / 412.3 MB, free: 304 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.04532, allocations: 492.2 kB / 412.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.04534, allocations: 19.92 kB / 412.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.04537, allocations: 39.28 kB / 412.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.04542, allocations: 51.5 kB / 412.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.04542, allocations: 0 / 412.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001014/0.04553, allocations: 81.52 kB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.04554, allocations: 4 kB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.04555, allocations: 4 kB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.04556, allocations: 3.984 kB / 413 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.0456, allocations: 11.94 kB / 413 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.04561, allocations: 0 / 413 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.04562, allocations: 4 kB / 413 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.04563, allocations: 4 kB / 413 MB, free: 15.56 MB / 394.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 0.0001044/0.04574, allocations: 160.6 kB / 413.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.04577, allocations: 15.83 kB / 413.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.04592, allocations: 109.9 kB / 413.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/0.04598, allocations: 85.88 kB / 413.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.04598, allocations: 0 / 413.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.04599, allocations: 11.98 kB / 413.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.04628, allocations: 373.8 kB / 413.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.04628, allocations: 0 / 413.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.04632, allocations: 15.98 kB / 413.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.04632, allocations: 4 kB / 413.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.04633, allocations: 0 / 413.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.04633, allocations: 11.92 kB / 413.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.04633, allocations: 0 / 413.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.04647, allocations: 259.4 kB / 414 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.04648, allocations: 7.891 kB / 414 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.04649, allocations: 0 / 414 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.04652, allocations: 4 kB / 414 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.04653, allocations: 11.92 kB / 414 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.04654, allocations: 4 kB / 414.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.04657, allocations: 123.2 kB / 414.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04657, allocations: 0 / 414.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001067/0.04764, allocations: 366.9 kB / 414.5 MB, free: 13.96 MB / 394.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.008876/0.05652, allocations: 4.162 MB / 418.7 MB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.05669, allocations: 90.98 kB / 418.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05669, allocations: 0 / 418.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.05673, allocations: 39.61 kB / 418.8 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.05701, allocations: 50.48 kB / 418.9 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.05758, allocations: 200.4 kB / 419.1 MB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.05762, allocations: 67.34 kB / 419.1 MB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.05766, allocations: 16.06 kB / 419.1 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.05775, allocations: 106.2 kB / 419.2 MB, free: 9.156 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05775, allocations: 0 / 419.2 MB, free: 9.156 MB / 394.7 MB Notification: Performance of Templates: time 0.01993/0.07768, allocations: 20.42 MB / 439.7 MB, free: 4.719 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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.223214262165129]