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.001765/0.001765, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002065/0.002065, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.2117/0.2117, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.623e-06/1.623e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.595e-05, allocations: 2.281 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1923/0.1924, allocations: 8.064 MB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009242/0.2016, allocations: 9.86 MB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.2017, allocations: 1.156 kB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.2019, allocations: 31.22 kB / 460.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.207, allocations: 1.889 MB / 462.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.207, allocations: 0 / 462.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2071, allocations: 52 kB / 462.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.2072, allocations: 2.125 kB / 462.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2074, allocations: 41.55 kB / 462.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2074, allocations: 17.77 kB / 462.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.2074, allocations: 1.219 kB / 462.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.2202, allocations: 6.591 MB / 469.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.2203, allocations: 17.41 kB / 469.2 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.2203, allocations: 12.62 kB / 469.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.2372, allocations: 5.324 MB / 474.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2372, allocations: 0 / 474.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2372, allocations: 1.438 kB / 474.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2372, allocations: 0 / 474.6 MB, free: 6.215 MB / 366.1 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.004521/0.2417, allocations: 0.503 MB / 475.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2417, allocations: 8.906 kB / 475.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2419, allocations: 11.05 kB / 475.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.94e-05/0.2419, allocations: 118.6 kB / 475.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.242, allocations: 1.469 kB / 475.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.242, allocations: 10.84 kB / 475.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2421, allocations: 80.58 kB / 475.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2421, allocations: 0 / 475.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2421, allocations: 0 / 475.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2421, allocations: 2.406 kB / 475.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.2422, allocations: 79.78 kB / 475.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2425, allocations: 265 kB / 475.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.2426, allocations: 38.56 kB / 475.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.2426, allocations: 23.36 kB / 475.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002528/0.2452, allocations: 0.8115 MB / 476.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.2452, allocations: 34.5 kB / 476.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2452, allocations: 0 / 476.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002486/0.2454, allocations: 124 kB / 476.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.613e-05/0.2454, allocations: 55.41 kB / 476.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.2455, allocations: 97.86 kB / 476.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2455, allocations: 25.7 kB / 476.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.2455, allocations: 96.02 kB / 476.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.2455, allocations: 23.75 kB / 477 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.2456, allocations: 29.7 kB / 477 MB, free: 3.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.418e-05/0.2456, allocations: 314.8 kB / 477.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.2456, allocations: 23.98 kB / 477.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.2457, allocations: 33.72 kB / 477.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.358e-05/0.2458, allocations: 66.02 kB / 477.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2458, allocations: 4 kB / 477.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.2459, allocations: 97.56 kB / 477.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.2459, allocations: 4 kB / 477.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2459, allocations: 0 / 477.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2459, allocations: 0 / 477.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.246, allocations: 11.94 kB / 477.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.246, allocations: 7.984 kB / 477.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.246, allocations: 3.953 kB / 477.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.246, allocations: 4 kB / 477.5 MB, free: 3.25 MB / 366.1 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.734e-05/0.2461, allocations: 110.5 kB / 477.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.2461, allocations: 11.97 kB / 477.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2463, allocations: 153.7 kB / 477.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.2464, allocations: 121.5 kB / 477.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2464, allocations: 1.312 kB / 477.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2464, allocations: 0.8906 kB / 477.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.2468, allocations: 381.9 kB / 478.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2468, allocations: 0 / 478.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.2468, allocations: 19.94 kB / 478.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2468, allocations: 0 / 478.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2468, allocations: 4 kB / 478.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2468, allocations: 0 / 478.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2468, allocations: 0 / 478.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.247, allocations: 231.4 kB / 478.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.247, allocations: 10.5 kB / 478.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.247, allocations: 0 / 478.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.2471, allocations: 4 kB / 478.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.2471, allocations: 7.984 kB / 478.6 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2471, allocations: 6.672 kB / 478.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.689e-05/0.2471, allocations: 79.22 kB / 478.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2471, allocations: 0 / 478.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003043/0.2502, allocations: 370.9 kB / 479 MB, free: 1.695 MB / 366.1 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.0153/0.2655, allocations: 4.135 MB / 483.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.2657, allocations: 106.5 kB / 483.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2658, allocations: 0 / 483.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.2658, allocations: 47.98 kB / 483.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2663, allocations: 44.66 kB / 483.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.2667, allocations: 194.4 kB / 483.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.042e-05/0.2668, allocations: 79.33 kB / 483.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.2669, allocations: 23.86 kB / 483.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.2669, allocations: 16.5 kB / 483.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2669, allocations: 0 / 483.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of Templates: time 0.03028/0.2972, allocations: 18.41 MB / 0.4903 GB, free: 10.59 MB / 398.1 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: 6.4119773879647255]