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.0008174/0.0008174, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001755/0.001755, allocations: 165.7 kB / 24.99 MB, free: 8.789 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.9858/0.9858, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2488/0.2488, allocations: 34.25 MB / 296 MB, free: 0.7695 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.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.516e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.00954/0.009565, allocations: 8.53 MB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009612/0.01918, allocations: 11.05 MB / 397.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.01927, allocations: 0 / 397.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.0196, allocations: 31.81 kB / 397.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.02458, allocations: 1.894 MB / 399.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.02458, allocations: 0 / 399.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.0247, allocations: 47.62 kB / 399.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.02474, allocations: 7.984 kB / 399.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.02488, allocations: 43.83 kB / 399.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.588e-05/0.0249, allocations: 8 kB / 399.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.02491, allocations: 0 / 399.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.03227, allocations: 6.595 MB / 406.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.03229, allocations: 7.938 kB / 406.2 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.03234, allocations: 16 kB / 406.2 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008481/0.04082, allocations: 5.337 MB / 411.6 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.04083, allocations: 0 / 411.6 MB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04083, allocations: 0 / 411.6 MB, free: 1.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.04084, allocations: 0 / 411.6 MB, free: 1.32 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.002244/0.04308, allocations: 0.5993 MB / 412.2 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.04312, allocations: 8.031 kB / 412.2 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.04329, allocations: 27.88 kB / 412.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.04339, allocations: 112.1 kB / 412.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.04341, allocations: 0 / 412.3 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.04342, allocations: 7.984 kB / 412.3 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.04355, allocations: 61.66 kB / 412.4 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.04356, allocations: 3.938 kB / 412.4 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.04357, allocations: 4 kB / 412.4 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.04358, allocations: 7.938 kB / 412.4 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.04364, allocations: 35.92 kB / 412.4 MB, free: 396 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.0441, allocations: 299.7 kB / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.04416, allocations: 42.98 kB / 412.8 MB, free: 4 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.04421, allocations: 23.8 kB / 412.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.04577, allocations: 0.8537 MB / 413.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.0458, allocations: 37.39 kB / 413.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.886e-06/0.0458, allocations: 0 / 413.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002522/0.04606, allocations: 105.7 kB / 413.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.04609, allocations: 51.41 kB / 413.8 MB, free: 14.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.04618, allocations: 157.9 kB / 414 MB, free: 14.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.04619, allocations: 29.81 kB / 414 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.04625, allocations: 138.8 kB / 414.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.04627, allocations: 27.75 kB / 414.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.04631, allocations: 31.36 kB / 414.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.04642, allocations: 0.4884 MB / 414.7 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.04645, allocations: 15.98 kB / 414.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.04649, allocations: 35.31 kB / 414.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.04655, allocations: 59.39 kB / 414.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.04656, allocations: 0 / 414.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001274/0.04668, allocations: 93.64 kB / 414.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0467, allocations: 8 kB / 414.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.04671, allocations: 3.984 kB / 414.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.04672, allocations: 8.031 kB / 414.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.04678, allocations: 15.92 kB / 414.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.04679, allocations: 0 / 414.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.04681, allocations: 8 kB / 414.9 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.04682, allocations: 0 / 414.9 MB, free: 13.72 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.739e-05/0.04689, allocations: 156.6 kB / 415.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.04692, allocations: 11.89 kB / 415.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.04711, allocations: 134 kB / 415.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.635e-05/0.0472, allocations: 93.62 kB / 415.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.0472, allocations: 4 kB / 415.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.04721, allocations: 0 / 415.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.04754, allocations: 405.2 kB / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.04755, allocations: 0 / 415.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.04759, allocations: 15.98 kB / 415.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.04759, allocations: 3.938 kB / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.0476, allocations: 4 kB / 415.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0476, allocations: 4 kB / 415.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.0476, allocations: 3.938 kB / 415.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.04777, allocations: 267.3 kB / 416 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.04778, allocations: 12.08 kB / 416 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.04779, allocations: 4 kB / 416 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.04782, allocations: 0 / 416 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.04785, allocations: 11.97 kB / 416.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.04785, allocations: 8 kB / 416.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.04789, allocations: 127.1 kB / 416.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04789, allocations: 0 / 416.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001877/0.04977, allocations: 366.9 kB / 416.5 MB, free: 12.04 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.01077/0.06054, allocations: 4.127 MB / 420.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.06079, allocations: 98.72 kB / 420.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0608, allocations: 0 / 420.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.06084, allocations: 47.66 kB / 420.8 MB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.06117, allocations: 35.95 kB / 420.8 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.06196, allocations: 228.3 kB / 421.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.062, allocations: 63.34 kB / 421.1 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.06205, allocations: 20.34 kB / 421.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.06208, allocations: 16.5 kB / 421.2 MB, free: 7.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.06208, allocations: 0 / 421.2 MB, free: 7.332 MB / 394.7 MB Notification: Performance of Templates: time 0.01902/0.0811, allocations: 18.57 MB / 439.7 MB, free: 4.762 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.209971871925518]