Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001405/0.001405, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00155/0.00155, allocations: 165 kB / 24.56 MB, free: 16 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.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.305 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.2663/0.2663, allocations: 34.26 MB / 295.7 MB, free: 0.7383 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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 4 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.896e-05, allocations: 6.25 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01295/0.01298, allocations: 8.853 MB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02444, allocations: 13.88 MB / 400.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.02448, allocations: 0 / 400.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.02466, allocations: 43.73 kB / 400.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.02809, allocations: 2.489 MB / 403.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.179e-05/0.02814, allocations: 15.98 kB / 403.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.02827, allocations: 139.1 kB / 403.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.02831, allocations: 15.95 kB / 403.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.02845, allocations: 79.73 kB / 403.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.02852, allocations: 35.91 kB / 403.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.02853, allocations: 4 kB / 403.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006436/0.03497, allocations: 7.145 MB / 410.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.03499, allocations: 7.984 kB / 410.7 MB, free: 1.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.03504, allocations: 43.91 kB / 410.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.04404, allocations: 6.652 MB / 417.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.04404, allocations: 0 / 417.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.04405, allocations: 0 / 417.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.04405, allocations: 0 / 417.4 MB, free: 11.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001983/0.04603, allocations: 0.7543 MB / 418.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.04607, allocations: 8.031 kB / 418.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.04624, allocations: 55.7 kB / 418.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.04633, allocations: 119.9 kB / 418.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.04634, allocations: 8 kB / 418.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.04637, allocations: 8 kB / 418.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.04662, allocations: 191.4 kB / 418.6 MB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.04663, allocations: 3.938 kB / 418.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.04665, allocations: 11.98 kB / 418.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.04666, allocations: 3.938 kB / 418.6 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.04677, allocations: 71.89 kB / 418.7 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.04722, allocations: 359.5 kB / 419 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.04742, allocations: 119 kB / 419.1 MB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.04746, allocations: 35.67 kB / 419.2 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.04852, allocations: 0.6589 MB / 419.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.04872, allocations: 202 kB / 420 MB, free: 8.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.04873, allocations: 0 / 420 MB, free: 8.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004173/0.04914, allocations: 201.5 kB / 420.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.04918, allocations: 63.33 kB / 420.3 MB, free: 8.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.04925, allocations: 165.9 kB / 420.4 MB, free: 7.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.04926, allocations: 25.7 kB / 420.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.0493, allocations: 142.8 kB / 420.6 MB, free: 7.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.04934, allocations: 51.58 kB / 420.6 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.04939, allocations: 39.36 kB / 420.7 MB, free: 7.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.04949, allocations: 0.4884 MB / 421.2 MB, free: 7.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.04953, allocations: 27.98 kB / 421.2 MB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.04959, allocations: 56.81 kB / 421.3 MB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.04967, allocations: 83.3 kB / 421.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.04967, allocations: 0 / 421.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001715/0.04984, allocations: 133.6 kB / 421.5 MB, free: 6.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.04986, allocations: 11.98 kB / 421.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.04987, allocations: 0 / 421.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.04988, allocations: 4 kB / 421.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.04997, allocations: 31.92 kB / 421.5 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.04997, allocations: 0 / 421.5 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.05001, allocations: 11.94 kB / 421.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.05003, allocations: 15.98 kB / 421.5 MB, free: 6.777 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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 7.355e-05/0.05011, allocations: 168.5 kB / 421.7 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.05015, allocations: 23.83 kB / 421.7 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.05044, allocations: 249.4 kB / 422 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001584/0.05059, allocations: 202.3 kB / 422.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0506, allocations: 0 / 422.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.0506, allocations: 4 kB / 422.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.05115, allocations: 0.5789 MB / 422.8 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.05116, allocations: 0 / 422.8 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.05123, allocations: 27.92 kB / 422.8 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.05123, allocations: 4 kB / 422.8 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.05124, allocations: 7.984 kB / 422.8 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.05125, allocations: 4 kB / 422.8 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.05125, allocations: 0 / 422.8 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.05156, allocations: 395.6 kB / 423.2 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.05158, allocations: 19.88 kB / 423.2 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.05159, allocations: 11.98 kB / 423.2 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.05168, allocations: 19.92 kB / 423.2 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.05174, allocations: 11.97 kB / 423.2 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.05176, allocations: 15.94 kB / 423.3 MB, free: 4.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.436e-05/0.05179, allocations: 131.1 kB / 423.4 MB, free: 4.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05179, allocations: 0 / 423.4 MB, free: 4.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001282/0.05307, allocations: 458.6 kB / 423.8 MB, free: 4.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01054/0.06362, allocations: 4.951 MB / 428.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.06384, allocations: 156.4 kB / 428.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.06384, allocations: 0 / 428.9 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.06393, allocations: 83.53 kB / 429 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.06425, allocations: 83.84 kB / 429.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.06506, allocations: 366.6 kB / 429.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.06525, allocations: 80.98 kB / 429.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.06534, allocations: 48.88 kB / 429.6 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.06538, allocations: 24.5 kB / 429.6 MB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.06538, allocations: 0 / 429.6 MB, free: 14.54 MB / 410.7 MB Notification: Performance of Templates: time 0.1466/0.212, allocations: 21.36 MB / 451 MB, free: 75.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.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: 5.061180806718767]