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.001028/0.001028, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001162/0.001162, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 0.9799/0.9799, allocations: 177.1 MB / 206 MB, free: 4.48 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.1558/0.1558, allocations: 34.27 MB / 296.9 MB, free: 13.9 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.663e-06/1.663e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.192e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.007868/0.00789, allocations: 8.462 MB / 387.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.01476, allocations: 10.87 MB / 398.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.01481, allocations: 0 / 398.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.01498, allocations: 27.83 kB / 398.6 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.01856, allocations: 1.89 MB / 400.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/0.01857, allocations: 0 / 400.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.01865, allocations: 55.55 kB / 400.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.01869, allocations: 15.92 kB / 400.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.0188, allocations: 35.84 kB / 400.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.01883, allocations: 11.94 kB / 400.7 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.01884, allocations: 0 / 400.7 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.02487, allocations: 6.599 MB / 407.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.02489, allocations: 7.984 kB / 407.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.02493, allocations: 15.94 kB / 407.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0071/0.03203, allocations: 5.341 MB / 412.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.03203, allocations: 0 / 412.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03203, allocations: 0 / 412.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.03204, allocations: 0 / 412.6 MB, free: 5.957 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.002324/0.03436, allocations: 0.6035 MB / 413.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.03439, allocations: 8.031 kB / 413.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.03451, allocations: 39.81 kB / 413.3 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.03459, allocations: 108.1 kB / 413.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.0346, allocations: 0 / 413.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.03461, allocations: 11.94 kB / 413.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.03468, allocations: 41.69 kB / 413.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.03469, allocations: 4 kB / 413.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.0347, allocations: 7.984 kB / 413.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.03471, allocations: 3.938 kB / 413.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.03474, allocations: 23.98 kB / 413.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.03502, allocations: 284.3 kB / 413.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.03507, allocations: 46.98 kB / 413.8 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.0351, allocations: 19.69 kB / 413.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.0365, allocations: 0.8033 MB / 414.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.03652, allocations: 45.41 kB / 414.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.03652, allocations: 3.938 kB / 414.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001838/0.0367, allocations: 89.58 kB / 414.7 MB, free: 3.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.03673, allocations: 51.41 kB / 414.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.0368, allocations: 169.8 kB / 415 MB, free: 3.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.03681, allocations: 25.7 kB / 415 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.03686, allocations: 134.8 kB / 415.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.03688, allocations: 23.75 kB / 415.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.03691, allocations: 35.34 kB / 415.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.03702, allocations: 496.1 kB / 415.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.03703, allocations: 11.98 kB / 415.7 MB, free: 2.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.03706, allocations: 35.34 kB / 415.7 MB, free: 2.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.03711, allocations: 51.69 kB / 415.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.03711, allocations: 0 / 415.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001048/0.03722, allocations: 89.5 kB / 415.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.03723, allocations: 4 kB / 415.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.03723, allocations: 0 / 415.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.03724, allocations: 0 / 415.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.03729, allocations: 11.98 kB / 415.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.03729, allocations: 4 kB / 415.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.03731, allocations: 11.89 kB / 415.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.03732, allocations: 4 kB / 415.9 MB, free: 2.477 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 6.106e-05/0.03738, allocations: 152.6 kB / 416 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.03741, allocations: 11.97 kB / 416 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.03756, allocations: 121.7 kB / 416.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/0.03762, allocations: 84.31 kB / 416.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.03762, allocations: 0 / 416.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.03762, allocations: 7.922 kB / 416.3 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.03791, allocations: 385.9 kB / 416.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.03791, allocations: 0 / 416.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.03795, allocations: 19.92 kB / 416.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.03795, allocations: 3.984 kB / 416.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.03796, allocations: 256 / 416.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.03796, allocations: 8 kB / 416.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03796, allocations: 4 kB / 416.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.03835, allocations: 251.8 kB / 416.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.03836, allocations: 3.953 kB / 416.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.03837, allocations: 4 kB / 416.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.0384, allocations: 0 / 416.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.03841, allocations: 7.984 kB / 416.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.03842, allocations: 4 kB / 416.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.03845, allocations: 123.2 kB / 417 MB, free: 1.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03845, allocations: 0 / 417 MB, free: 1.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001529/0.03998, allocations: 366.9 kB / 417.4 MB, free: 0.875 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.009271/0.04925, allocations: 4.163 MB / 421.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.04941, allocations: 90.7 kB / 421.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04941, allocations: 0 / 421.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.04944, allocations: 39.66 kB / 421.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.04973, allocations: 63.03 kB / 421.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.0503, allocations: 208.5 kB / 422 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.05033, allocations: 67.2 kB / 422 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.05038, allocations: 19.97 kB / 422 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.05047, allocations: 102.2 kB / 422.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.011e-06/0.05047, allocations: 0 / 422.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Templates: time 0.02065/0.07112, allocations: 20.51 MB / 442.7 MB, free: 7.547 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 -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: 4.012159108184278]