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.002706/0.002706, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002781/0.002781, allocations: 161.3 kB / 24.27 MB, free: 152 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.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.344/0.344, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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 1.402e-06/1.402e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.913e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01416/0.01419, allocations: 8.81 MB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.03321, allocations: 13.86 MB / 399.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.0333, allocations: 4 kB / 399.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.03354, allocations: 43.73 kB / 400 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.04078, allocations: 2.473 MB / 402.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.491e-05/0.04087, allocations: 15.97 kB / 402.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.04107, allocations: 139.1 kB / 402.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.04111, allocations: 15.91 kB / 402.6 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.04134, allocations: 79.8 kB / 402.7 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.04143, allocations: 39.89 kB / 402.7 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.04145, allocations: 0 / 402.7 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.05582, allocations: 7.141 MB / 409.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.05586, allocations: 19.91 kB / 409.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.05596, allocations: 31.98 kB / 409.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01858/0.07454, allocations: 6.648 MB / 416.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.07454, allocations: 0 / 416.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07454, allocations: 0 / 416.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.07455, allocations: 0 / 416.6 MB, free: 11.54 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.003832/0.07838, allocations: 0.7659 MB / 417.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.07842, allocations: 8.031 kB / 417.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.07871, allocations: 55.7 kB / 417.4 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.07884, allocations: 119.9 kB / 417.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.07886, allocations: 4 kB / 417.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.07889, allocations: 8 kB / 417.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.07931, allocations: 193.5 kB / 417.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.07932, allocations: 3.984 kB / 417.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.07934, allocations: 8 kB / 417.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.07935, allocations: 3.938 kB / 417.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.07966, allocations: 87.92 kB / 417.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.08035, allocations: 371.4 kB / 418.2 MB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.08076, allocations: 134.9 kB / 418.3 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.08088, allocations: 43.67 kB / 418.4 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/0.08313, allocations: 0.6589 MB / 419 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.08354, allocations: 210.1 kB / 419.2 MB, free: 8.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.08354, allocations: 0 / 419.2 MB, free: 8.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007971/0.08433, allocations: 237.4 kB / 419.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.08439, allocations: 55.41 kB / 419.5 MB, free: 8.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.08454, allocations: 169.9 kB / 419.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.08457, allocations: 29.7 kB / 419.7 MB, free: 8.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.08466, allocations: 138.9 kB / 419.9 MB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/0.08474, allocations: 43.55 kB / 419.9 MB, free: 8.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.08482, allocations: 47.36 kB / 419.9 MB, free: 7.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.08509, allocations: 0.4884 MB / 420.4 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.08521, allocations: 39.97 kB / 420.5 MB, free: 7.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.08536, allocations: 67.34 kB / 420.5 MB, free: 7.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.0856, allocations: 116.8 kB / 420.6 MB, free: 7.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0856, allocations: 0 / 420.6 MB, free: 7.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003962/0.086, allocations: 157.4 kB / 420.8 MB, free: 7.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.08601, allocations: 8 kB / 420.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.08602, allocations: 0 / 420.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.08603, allocations: 0 / 420.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.08616, allocations: 27.98 kB / 420.8 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.08616, allocations: 0 / 420.8 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.08625, allocations: 20.12 kB / 420.9 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.08627, allocations: 12 kB / 420.9 MB, free: 6.988 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 0.0001453/0.08642, allocations: 172.5 kB / 421 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.0865, allocations: 19.83 kB / 421.1 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.08707, allocations: 261.5 kB / 421.3 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004363/0.08751, allocations: 221.7 kB / 421.5 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.08751, allocations: 4 kB / 421.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.08752, allocations: 3.984 kB / 421.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.08854, allocations: 0.6013 MB / 422.1 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.08854, allocations: 0 / 422.1 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.08867, allocations: 27.98 kB / 422.2 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.08867, allocations: 0 / 422.2 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.08869, allocations: 11.98 kB / 422.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.08869, allocations: 4 kB / 422.2 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08869, allocations: 3.938 kB / 422.2 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.08945, allocations: 447.5 kB / 422.6 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.08947, allocations: 11.89 kB / 422.6 MB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.0895, allocations: 8 kB / 422.6 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.08966, allocations: 15.98 kB / 422.7 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.08973, allocations: 19.97 kB / 422.7 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.08976, allocations: 15.95 kB / 422.7 MB, free: 5.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.08997, allocations: 127.2 kB / 422.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08997, allocations: 0 / 422.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002986/0.09295, allocations: 458.6 kB / 423.3 MB, free: 4.508 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.01871/0.1117, allocations: 4.96 MB / 428.2 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.1122, allocations: 169.2 kB / 428.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1122, allocations: 4 kB / 428.4 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.1125, allocations: 103.6 kB / 428.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1132, allocations: 78.28 kB / 428.6 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.114, allocations: 342.7 kB / 428.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.1142, allocations: 111.3 kB / 429 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1143, allocations: 48.81 kB / 429.1 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.1144, allocations: 28.5 kB / 429.1 MB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1144, allocations: 0 / 429.1 MB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.1827/0.297, allocations: 21.35 MB / 450.4 MB, free: 99.08 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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: 7.6556037090485916]