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.001434/0.001434, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001154/0.001154, allocations: 175.7 kB / 24.91 MB, free: 8.77 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.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.2651/0.2651, allocations: 34.26 MB / 296.1 MB, free: 0.6875 MB / 266.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.453e-06/1.453e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.518e-05, allocations: 3.672 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.009869/0.009894, allocations: 8.57 MB / 333.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009756/0.01965, allocations: 11.02 MB / 344.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.01971, allocations: 0 / 344.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.01993, allocations: 31.81 kB / 344.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.02406, allocations: 1.789 MB / 346.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.703e-06/0.02407, allocations: 0 / 346.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.02418, allocations: 59.59 kB / 346.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.02422, allocations: 3.938 kB / 346.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.02436, allocations: 35.84 kB / 346.8 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.948e-05/0.02439, allocations: 15.98 kB / 346.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.0244, allocations: 0 / 346.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007546/0.03195, allocations: 6.72 MB / 353.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.03197, allocations: 7.938 kB / 353.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.032, allocations: 12 kB / 353.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007204/0.03921, allocations: 5.337 MB / 358.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.03921, allocations: 0 / 358.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.03921, allocations: 0 / 358.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.03922, allocations: 0 / 358.9 MB, free: 5.996 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00247/0.04169, allocations: 493.9 kB / 359.4 MB, free: 5.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.04174, allocations: 12.03 kB / 359.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.0419, allocations: 23.92 kB / 359.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.04201, allocations: 113.2 kB / 359.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.04203, allocations: 11.98 kB / 359.5 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.04203, allocations: 4 kB / 359.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.04214, allocations: 48.52 kB / 359.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.04216, allocations: 0 / 359.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.04217, allocations: 8 kB / 359.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.04218, allocations: 7.938 kB / 359.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.04223, allocations: 27.92 kB / 359.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.04259, allocations: 205.8 kB / 359.8 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.04263, allocations: 22.69 kB / 359.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.04266, allocations: 16.8 kB / 359.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002565/0.04522, allocations: 1.198 MB / 361.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.04526, allocations: 34.56 kB / 361.1 MB, free: 3.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.04526, allocations: 0 / 361.1 MB, free: 3.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.000207/0.04546, allocations: 77.5 kB / 361.2 MB, free: 3.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.0455, allocations: 55.41 kB / 361.2 MB, free: 3.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.04557, allocations: 110.6 kB / 361.3 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.04558, allocations: 25.7 kB / 361.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.04562, allocations: 84.09 kB / 361.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.04564, allocations: 35.73 kB / 361.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.04568, allocations: 21.7 kB / 361.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.04575, allocations: 318.8 kB / 361.8 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.04576, allocations: 8 kB / 361.8 MB, free: 2.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.04579, allocations: 29.66 kB / 361.8 MB, free: 2.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.04583, allocations: 41.72 kB / 361.9 MB, free: 2.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.04584, allocations: 0 / 361.9 MB, free: 2.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.776e-05/0.04593, allocations: 73.98 kB / 361.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.04595, allocations: 7.938 kB / 362 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.04595, allocations: 4.031 kB / 362 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.04597, allocations: 4 kB / 362 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.04601, allocations: 4 kB / 362 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.04602, allocations: 7.938 kB / 362 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.04605, allocations: 3.938 kB / 362 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.04606, allocations: 4 kB / 362 MB, free: 2.715 MB / 330.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 7.117e-05/0.04613, allocations: 109.8 kB / 362.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.04618, allocations: 11.92 kB / 362.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.04638, allocations: 152.1 kB / 362.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-05/0.04645, allocations: 73.61 kB / 362.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.04646, allocations: 0 / 362.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.04646, allocations: 0 / 362.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.04683, allocations: 326.4 kB / 362.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.04683, allocations: 4 kB / 362.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.04689, allocations: 16 kB / 362.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.04689, allocations: 0 / 362.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.0469, allocations: 0 / 362.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.0469, allocations: 0 / 362.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0469, allocations: 192 / 362.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.04707, allocations: 240.2 kB / 362.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.04709, allocations: 12.19 kB / 362.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.0471, allocations: 0 / 362.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.04715, allocations: 4 kB / 362.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.04718, allocations: 11.98 kB / 362.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.04719, allocations: 0 / 362.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.177e-05/0.0472, allocations: 8.859 kB / 362.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0472, allocations: 0 / 362.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002254/0.04945, allocations: 370.9 kB / 363.3 MB, free: 1.34 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.01035/0.05981, allocations: 4.152 MB / 367.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.06002, allocations: 76.02 kB / 367.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.06003, allocations: 8 kB / 367.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.06006, allocations: 40.77 kB / 367.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.06043, allocations: 45.45 kB / 367.6 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.06131, allocations: 221.4 kB / 367.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.06135, allocations: 63.34 kB / 367.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.0614, allocations: 17.5 kB / 367.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.06149, allocations: 83.36 kB / 368 MB, free: 12.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.522e-06/0.06149, allocations: 0 / 368 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Templates: time 0.0313/0.09279, allocations: 20.45 MB / 388.4 MB, free: 8.133 MB / 362.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8244723631069064]