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.0008044/0.0008044, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004116/0.004116, allocations: 163.9 kB / 24.7 MB, free: 9.406 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.867/0.867, allocations: 177.1 MB / 205 MB, free: 5.73 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.2422/0.2422, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.805e-06/2.805e-06, allocations: 3.984 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.47e-05, allocations: 3.125 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1597/0.1597, allocations: 8.041 MB / 451.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.165, allocations: 9.873 MB / 461.3 MB, free: 34.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.165, allocations: 0 / 461.3 MB, free: 34.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1652, allocations: 36.3 kB / 461.4 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.1682, allocations: 1.876 MB / 463.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.1682, allocations: 0 / 463.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.1683, allocations: 53.41 kB / 463.3 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.1683, allocations: 7.078 kB / 463.3 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1684, allocations: 37.77 kB / 463.4 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.1685, allocations: 13.47 kB / 463.4 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1685, allocations: 7.094 kB / 463.4 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.1741, allocations: 6.591 MB / 470 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1741, allocations: 3.984 kB / 470 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1741, allocations: 14.22 kB / 470 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006728/0.1808, allocations: 5.335 MB / 475.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1808, allocations: 0 / 475.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1808, allocations: 3.469 kB / 475.3 MB, free: 32.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1809, allocations: 0 / 475.3 MB, free: 32.05 MB / 410.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.001998/0.1828, allocations: 0.5035 MB / 475.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1829, allocations: 12.75 kB / 475.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.183, allocations: 13.61 kB / 475.9 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.1831, allocations: 112.2 kB / 476 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1831, allocations: 0 / 476 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.1831, allocations: 3.031 kB / 476 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1832, allocations: 81.48 kB / 476 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1832, allocations: 1.922 kB / 476 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1832, allocations: 3.281 kB / 476 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1832, allocations: 3.938 kB / 476.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.647e-05/0.1833, allocations: 76.66 kB / 476.1 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.1837, allocations: 275.4 kB / 476.4 MB, free: 31.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.1837, allocations: 40.61 kB / 476.4 MB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1837, allocations: 23.7 kB / 476.5 MB, free: 31.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.1853, allocations: 0.8126 MB / 477.3 MB, free: 30.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.1853, allocations: 37.25 kB / 477.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1853, allocations: 0 / 477.3 MB, free: 30.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002297/0.1855, allocations: 119.8 kB / 477.4 MB, free: 30.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.1856, allocations: 51.41 kB / 477.5 MB, free: 30.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.1856, allocations: 99 kB / 477.6 MB, free: 30.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.1856, allocations: 27.08 kB / 477.6 MB, free: 30.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.1856, allocations: 89.38 kB / 477.7 MB, free: 30.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1856, allocations: 30.92 kB / 477.7 MB, free: 30.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1857, allocations: 20.5 kB / 477.7 MB, free: 30.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.658e-05/0.1857, allocations: 315.4 kB / 478 MB, free: 30.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.1857, allocations: 18.56 kB / 478.1 MB, free: 30.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.341e-05/0.1858, allocations: 48 kB / 478.1 MB, free: 30.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.1858, allocations: 63.48 kB / 478.2 MB, free: 30.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1858, allocations: 1.969 kB / 478.2 MB, free: 30.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.796e-05/0.1859, allocations: 92.41 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1859, allocations: 6.562 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1859, allocations: 4.688 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.186, allocations: 1.281 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.186, allocations: 7.469 kB / 478.3 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.186, allocations: 5.281 kB / 478.3 MB, free: 30.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.186, allocations: 12.98 kB / 478.3 MB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.186, allocations: 2.688 kB / 478.3 MB, free: 30.04 MB / 410.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 4.03e-05/0.1861, allocations: 112.7 kB / 478.4 MB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1861, allocations: 9.422 kB / 478.4 MB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1863, allocations: 159.4 kB / 478.6 MB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.345e-05/0.1864, allocations: 122.9 kB / 478.7 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1864, allocations: 0 / 478.7 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1864, allocations: 0.8438 kB / 478.7 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1867, allocations: 376.5 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1867, allocations: 3.281 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.1867, allocations: 13.94 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1867, allocations: 1.156 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1867, allocations: 1.094 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1867, allocations: 1.125 kB / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1867, allocations: 0 / 479.1 MB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1869, allocations: 231.8 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.1869, allocations: 7.859 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1869, allocations: 1.5 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.1869, allocations: 4 kB / 479.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1869, allocations: 14.47 kB / 479.3 MB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1869, allocations: 2.969 kB / 479.3 MB, free: 29.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.1869, allocations: 76.75 kB / 479.4 MB, free: 29.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1869, allocations: 1.5 kB / 479.4 MB, free: 29.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001785/0.1887, allocations: 364.8 kB / 479.8 MB, free: 29.1 MB / 410.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.009266/0.198, allocations: 4.142 MB / 483.9 MB, free: 26.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1982, allocations: 101.1 kB / 484 MB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1982, allocations: 4 kB / 484 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.1983, allocations: 51.69 kB / 484.1 MB, free: 26.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1986, allocations: 41.05 kB / 484.1 MB, free: 26.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.1989, allocations: 229.2 kB / 484.3 MB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.1989, allocations: 79.44 kB / 484.4 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.199, allocations: 15.09 kB / 484.4 MB, free: 26.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.199, allocations: 1.375 kB / 484.4 MB, free: 26.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02062/0.2196, allocations: 19.6 MB / 0.4922 GB, free: 19.85 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] 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: 5.666408755816519]