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.002288/0.002288, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002192/0.002192, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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.773/1.773, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3416/0.3416, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.352e-06/1.352e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.535e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01484/0.01486, allocations: 8.491 MB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.03123, allocations: 11.05 MB / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.03128, allocations: 0 / 396.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.03149, allocations: 35.81 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.03696, allocations: 1.886 MB / 398.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.472e-06/0.03697, allocations: 0 / 398.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.03708, allocations: 51.56 kB / 398.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.03712, allocations: 11.98 kB / 398.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.03727, allocations: 35.89 kB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.03731, allocations: 11.94 kB / 398.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.03732, allocations: 0 / 398.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/0.04997, allocations: 6.595 MB / 405.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.04999, allocations: 7.938 kB / 405.4 MB, free: 6.715 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.05005, allocations: 11.94 kB / 405.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.06716, allocations: 5.337 MB / 410.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.06717, allocations: 0 / 410.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06717, allocations: 3.938 kB / 410.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.06717, allocations: 0 / 410.8 MB, free: 1.355 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.002747/0.06992, allocations: 0.6031 MB / 411.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.06996, allocations: 12.03 kB / 411.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.07013, allocations: 27.88 kB / 411.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.07026, allocations: 108.1 kB / 411.5 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.07027, allocations: 4 kB / 411.5 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.07028, allocations: 4 kB / 411.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.07042, allocations: 57.62 kB / 411.6 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.07043, allocations: 0 / 411.6 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.07044, allocations: 4 kB / 411.6 MB, free: 480 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.07045, allocations: 7.922 kB / 411.6 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.07056, allocations: 43.91 kB / 411.7 MB, free: 428 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.07107, allocations: 299.7 kB / 412 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.07116, allocations: 47.05 kB / 412 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.07124, allocations: 35.78 kB / 412 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.07436, allocations: 0.8538 MB / 412.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.07439, allocations: 33.5 kB / 412.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.07439, allocations: 3.938 kB / 412.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003394/0.07473, allocations: 121.5 kB / 413 MB, free: 14.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.07478, allocations: 51.41 kB / 413.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.0749, allocations: 157.9 kB / 413.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.07492, allocations: 25.7 kB / 413.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.07501, allocations: 138.8 kB / 413.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.07504, allocations: 27.75 kB / 413.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.07509, allocations: 35.36 kB / 413.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.07534, allocations: 496.1 kB / 414 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.0754, allocations: 19.98 kB / 414 MB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.07547, allocations: 43.31 kB / 414 MB, free: 13.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.07558, allocations: 67.39 kB / 414.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.07558, allocations: 0 / 414.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.07578, allocations: 97.52 kB / 414.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.0758, allocations: 10.03 kB / 414.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.0758, allocations: 4.031 kB / 414.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.07582, allocations: 0 / 414.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.07588, allocations: 11.98 kB / 414.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.07589, allocations: 3.938 kB / 414.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.07592, allocations: 11.94 kB / 414.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.07594, allocations: 4 kB / 414.2 MB, free: 13.7 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.0001144/0.07606, allocations: 152.6 kB / 414.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.07611, allocations: 15.89 kB / 414.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.0764, allocations: 130 kB / 414.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001632/0.07656, allocations: 116.4 kB / 414.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.07657, allocations: 0 / 414.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.07657, allocations: 0 / 414.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.07714, allocations: 425.1 kB / 415 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.07714, allocations: 3.938 kB / 415 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.07721, allocations: 16.23 kB / 415.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.07721, allocations: 0 / 415.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.07722, allocations: 4 kB / 415.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.07723, allocations: 4 kB / 415.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.07723, allocations: 3.938 kB / 415.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.07755, allocations: 275.8 kB / 415.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.07757, allocations: 11.95 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.07758, allocations: 0 / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.07764, allocations: 4 kB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.07767, allocations: 7.984 kB / 415.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.07768, allocations: 4 kB / 415.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.07797, allocations: 123.2 kB / 415.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07797, allocations: 0 / 415.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002153/0.08012, allocations: 370.8 kB / 415.9 MB, free: 11.98 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.01564/0.09576, allocations: 4.135 MB / 420 MB, free: 7.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.09607, allocations: 110.8 kB / 420.1 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.09607, allocations: 0 / 420.1 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.09617, allocations: 55.59 kB / 420.2 MB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.09665, allocations: 40.14 kB / 420.2 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.0971, allocations: 204.8 kB / 420.4 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.0972, allocations: 83.52 kB / 420.5 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.09725, allocations: 15.88 kB / 420.5 MB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.0973, allocations: 24.5 kB / 420.5 MB, free: 7.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.0973, allocations: 0 / 420.5 MB, free: 7.246 MB / 394.7 MB Notification: Performance of Templates: time 0.03212/0.1294, allocations: 18.57 MB / 439.1 MB, free: 4.676 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7190050720237195]