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.001338/0.001338, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00145/0.00145, allocations: 169.7 kB / 24.82 MB, free: 8.887 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.9681/0.9681, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2818/0.2818, allocations: 34.26 MB / 296.1 MB, free: 0.668 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 2.435e-06/2.435e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.259e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01093/0.01097, allocations: 8.486 MB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.01946, allocations: 10.87 MB / 397.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.01953, allocations: 0 / 397.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.01975, allocations: 31.77 kB / 397.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.02441, allocations: 1.894 MB / 399.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.935e-06/0.02442, allocations: 0 / 399.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.02453, allocations: 59.53 kB / 399.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.02459, allocations: 8 kB / 399.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.02476, allocations: 31.91 kB / 399.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.02479, allocations: 15.92 kB / 399.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.0248, allocations: 0 / 399.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007537/0.03234, allocations: 6.595 MB / 406.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.03236, allocations: 7.969 kB / 406.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.0324, allocations: 19.94 kB / 406.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009716/0.04212, allocations: 5.337 MB / 411.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.04213, allocations: 0 / 411.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04213, allocations: 0 / 411.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.04213, allocations: 0 / 411.8 MB, free: 0.9375 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.002801/0.04493, allocations: 0.607 MB / 412.5 MB, free: 300 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.04498, allocations: 8.031 kB / 412.5 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.04513, allocations: 27.88 kB / 412.5 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.99e-05/0.04523, allocations: 108.1 kB / 412.6 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.04525, allocations: 0 / 412.6 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.04525, allocations: 8 kB / 412.6 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.04535, allocations: 53.62 kB / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.04536, allocations: 0 / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.04537, allocations: 0 / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.04538, allocations: 3.938 kB / 412.7 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.04542, allocations: 35.95 kB / 412.7 MB, free: 20 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.04574, allocations: 280.3 kB / 413 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.04579, allocations: 46.98 kB / 413 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.04581, allocations: 19.69 kB / 413 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.04716, allocations: 0.8265 MB / 413.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.04719, allocations: 37.33 kB / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.04719, allocations: 0 / 413.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001866/0.04738, allocations: 97.66 kB / 414 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.0474, allocations: 51.41 kB / 414 MB, free: 14.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.04747, allocations: 157.9 kB / 414.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.04748, allocations: 25.7 kB / 414.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.04753, allocations: 142.8 kB / 414.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.04755, allocations: 27.75 kB / 414.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.04758, allocations: 35.34 kB / 414.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.04769, allocations: 492.1 kB / 414.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.04771, allocations: 15.92 kB / 414.9 MB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.04773, allocations: 31.36 kB / 414.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.04779, allocations: 51.39 kB / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.04779, allocations: 4 kB / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.0479, allocations: 85.45 kB / 415.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.04791, allocations: 8.031 kB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.04792, allocations: 0 / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.04793, allocations: 4.188 kB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.04799, allocations: 15.94 kB / 415.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.04799, allocations: 3.984 kB / 415.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.04801, allocations: 4 kB / 415.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.04802, allocations: 4 kB / 415.1 MB, free: 13.44 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 6.488e-05/0.04808, allocations: 152.6 kB / 415.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.04811, allocations: 11.89 kB / 415.3 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.04827, allocations: 122 kB / 415.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/0.04833, allocations: 93.55 kB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.04833, allocations: 0 / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.04834, allocations: 4 kB / 415.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.04863, allocations: 373.8 kB / 415.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.04863, allocations: 0 / 415.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.04867, allocations: 19.94 kB / 415.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.04868, allocations: 0 / 415.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.04868, allocations: 7.984 kB / 415.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.04869, allocations: 0 / 415.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.04869, allocations: 4 kB / 415.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.04883, allocations: 254.6 kB / 416.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.04884, allocations: 11.89 kB / 416.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-06/0.04885, allocations: 4 kB / 416.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.04888, allocations: 0 / 416.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.04889, allocations: 7.984 kB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.0489, allocations: 4 kB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.103e-05/0.04893, allocations: 127.1 kB / 416.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04893, allocations: 0 / 416.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001679/0.05061, allocations: 359 kB / 416.6 MB, free: 11.84 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.009455/0.06006, allocations: 4.167 MB / 420.8 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.06025, allocations: 94.7 kB / 420.9 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.06026, allocations: 0 / 420.9 MB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.06029, allocations: 39.66 kB / 420.9 MB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.0606, allocations: 50.47 kB / 421 MB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.06119, allocations: 220.9 kB / 421.2 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.06122, allocations: 63.34 kB / 421.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.06127, allocations: 19.92 kB / 421.3 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.06137, allocations: 102.2 kB / 421.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.06137, allocations: 0 / 421.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of Templates: time 0.02165/0.08302, allocations: 20.49 MB / 441.9 MB, free: 2.512 MB / 410.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.1815549088642]