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.0009531/0.0009531, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009903/0.0009903, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.921/0.921, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1398/0.1398, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.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 6.793e-06/6.793e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.833e-05, allocations: 6.25 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.00694/0.006958, allocations: 8.789 MB / 388.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.01432, allocations: 13.66 MB / 401.7 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.01436, allocations: 4 kB / 401.7 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.01451, allocations: 35.75 kB / 401.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.01858, allocations: 2.492 MB / 404.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.781e-05/0.01864, allocations: 15.92 kB / 404.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.01876, allocations: 135.1 kB / 404.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.0188, allocations: 4 kB / 404.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.01893, allocations: 91.72 kB / 404.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.01899, allocations: 31.91 kB / 404.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.019, allocations: 0 / 404.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.0265, allocations: 7.149 MB / 411.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.02652, allocations: 15.92 kB / 411.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.02657, allocations: 31.92 kB / 411.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007687/0.03425, allocations: 6.644 MB / 418.4 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.03426, allocations: 0 / 418.4 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03426, allocations: 0 / 418.4 MB, free: 184 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.03426, allocations: 8 kB / 418.4 MB, free: 176 kB / 330.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.002437/0.0367, allocations: 0.7625 MB / 419.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.03673, allocations: 11.97 kB / 419.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.03688, allocations: 59.69 kB / 419.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.27e-05/0.03695, allocations: 116 kB / 419.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.03696, allocations: 8 kB / 419.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.03698, allocations: 8 kB / 419.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.03718, allocations: 185.3 kB / 419.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.03719, allocations: 4 kB / 419.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.0372, allocations: 11.94 kB / 419.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.03721, allocations: 3.938 kB / 419.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.0373, allocations: 59.88 kB / 419.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.03765, allocations: 356 kB / 420 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.03781, allocations: 99.08 kB / 420.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.03784, allocations: 31.61 kB / 420.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009643/0.0388, allocations: 0.6394 MB / 420.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.03899, allocations: 189.3 kB / 420.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.03899, allocations: 0 / 420.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003275/0.03931, allocations: 189.5 kB / 421.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.03934, allocations: 59.33 kB / 421.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.0394, allocations: 165.9 kB / 421.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.03941, allocations: 25.7 kB / 421.3 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.03945, allocations: 146.8 kB / 421.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.03949, allocations: 59.45 kB / 421.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.03953, allocations: 39.34 kB / 421.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.03962, allocations: 0.4884 MB / 422.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.03965, allocations: 19.98 kB / 422.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.03969, allocations: 47.33 kB / 422.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.03975, allocations: 67.28 kB / 422.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.03976, allocations: 4 kB / 422.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001471/0.0399, allocations: 127.1 kB / 422.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.03991, allocations: 11.98 kB / 422.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.03992, allocations: 0 / 422.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.03993, allocations: 0 / 422.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.03999, allocations: 31.92 kB / 422.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.04, allocations: 0 / 422.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.04004, allocations: 15.89 kB / 422.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.04005, allocations: 8 kB / 422.4 MB, free: 11.9 MB / 346.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.086e-05/0.04012, allocations: 164.6 kB / 422.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.04016, allocations: 19.83 kB / 422.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.0404, allocations: 237.4 kB / 422.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001298/0.04053, allocations: 174.6 kB / 423 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.04053, allocations: 0 / 423 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.04054, allocations: 4 kB / 423 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.04121, allocations: 0.5368 MB / 423.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.04121, allocations: 8.25 kB / 423.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.04127, allocations: 31.92 kB / 423.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.04128, allocations: 7.938 kB / 423.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.04129, allocations: 4 kB / 423.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.04129, allocations: 0 / 423.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.04129, allocations: 0 / 423.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.04155, allocations: 379.5 kB / 423.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.04156, allocations: 11.89 kB / 423.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.04158, allocations: 4 kB / 424 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.04165, allocations: 20.02 kB / 424 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.04169, allocations: 15.97 kB / 424 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.04171, allocations: 15.98 kB / 424 MB, free: 10.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.642e-05/0.04173, allocations: 119.2 kB / 424.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04173, allocations: 0 / 424.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001501/0.04323, allocations: 470.6 kB / 424.6 MB, free: 9.645 MB / 346.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.01074/0.05398, allocations: 4.98 MB / 429.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.05416, allocations: 141.1 kB / 429.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.05416, allocations: 0 / 429.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.05424, allocations: 86.16 kB / 429.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.05456, allocations: 77.8 kB / 429.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.05525, allocations: 357.6 kB / 430.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.0553, allocations: 76.98 kB / 430.3 MB, free: 3.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.05539, allocations: 56.89 kB / 430.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.05582, allocations: 142.1 kB / 430.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.05582, allocations: 0 / 430.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of Templates: time 0.02125/0.07707, allocations: 23.85 MB / 454.3 MB, free: 11.84 MB / 378.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: 4.5646165031939745]