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.0009359/0.0009359, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002192, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009022/0.0009022, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001916, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9847/0.9847, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08681/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2583/0.2583, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0224/0.2807, allocations: 13.1 MB / 291.3 MB, free: 7.367 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 1.132e-06/1.132e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.326e-06/9.458e-06, allocations: 7.078 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.008162/0.008171, allocations: 8.893 MB / 301.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009611/0.01778, allocations: 13.91 MB / 315.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.01782, allocations: 0 / 315.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.01791, allocations: 35.8 kB / 315.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.02126, allocations: 2.343 MB / 317.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.419e-05/0.02131, allocations: 19.95 kB / 317.8 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.02145, allocations: 135.1 kB / 318 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.02148, allocations: 7.984 kB / 318 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.02163, allocations: 95.66 kB / 318.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.02169, allocations: 31.92 kB / 318.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.0217, allocations: 4 kB / 318.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006727/0.02843, allocations: 7.325 MB / 325.4 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.02845, allocations: 7.984 kB / 325.4 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.02849, allocations: 31.94 kB / 325.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007131/0.03562, allocations: 6.36 MB / 331.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.819e-05/0.03564, allocations: 0 / 331.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03564, allocations: 0 / 331.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.03566, allocations: 4 kB / 331.8 MB, free: 14.98 MB / 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.002779/0.03844, allocations: 1.626 MB / 333.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.03847, allocations: 8.031 kB / 333.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.03861, allocations: 59.72 kB / 333.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.03869, allocations: 117.1 kB / 333.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.0387, allocations: 8 kB / 333.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.03872, allocations: 8 kB / 333.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.03893, allocations: 202.2 kB / 333.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.03894, allocations: 0 / 333.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.03895, allocations: 4 kB / 333.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.03896, allocations: 7.938 kB / 333.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.03905, allocations: 55.88 kB / 333.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.03935, allocations: 253.7 kB / 334.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.03949, allocations: 82.52 kB / 334.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.03951, allocations: 24.84 kB / 334.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.04085, allocations: 0.9055 MB / 335.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.04105, allocations: 196.3 kB / 335.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.04105, allocations: 0 / 335.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002569/0.0413, allocations: 151.6 kB / 335.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.04133, allocations: 59.41 kB / 335.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.04138, allocations: 114.6 kB / 335.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.0414, allocations: 29.7 kB / 335.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.04143, allocations: 92.09 kB / 335.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.04146, allocations: 55.45 kB / 335.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.0415, allocations: 33.69 kB / 335.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.04157, allocations: 326.8 kB / 336.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.04159, allocations: 16 kB / 336.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.04163, allocations: 33.69 kB / 336.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.04168, allocations: 64.06 kB / 336.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.04168, allocations: 0 / 336.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001185/0.0418, allocations: 105.4 kB / 336.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.04181, allocations: 4 kB / 336.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.04182, allocations: 0 / 336.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.04183, allocations: 4 kB / 336.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.0419, allocations: 35.91 kB / 336.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.0419, allocations: 0 / 336.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.04194, allocations: 15.89 kB / 336.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.04195, allocations: 4 kB / 336.5 MB, free: 10.09 MB / 330.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_check.phase,p,$PRE.p,state.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 5.817e-05/0.04201, allocations: 124.2 kB / 336.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.04205, allocations: 23.8 kB / 336.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.04225, allocations: 204 kB / 336.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-05/0.04235, allocations: 142.9 kB / 337 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.04235, allocations: 0 / 337 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.04235, allocations: 0 / 337 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.04274, allocations: 462.2 kB / 337.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.04274, allocations: 0 / 337.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.04281, allocations: 35.86 kB / 337.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.04282, allocations: 11.89 kB / 337.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.04283, allocations: 8.031 kB / 337.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.04284, allocations: 7.938 kB / 337.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.04284, allocations: 0 / 337.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.04284, allocations: 0 / 337.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.04308, allocations: 341.9 kB / 337.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.04309, allocations: 4 kB / 337.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.04316, allocations: 19.98 kB / 337.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.0432, allocations: 16.2 kB / 337.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.04321, allocations: 8 kB / 337.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.161e-05/0.04322, allocations: 12.86 kB / 337.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04322, allocations: 0 / 337.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001338/0.04456, allocations: 458.7 kB / 338.3 MB, free: 8.184 MB / 330.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,p,state_check.phase,dT) * 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.009985/0.05455, allocations: 5.01 MB / 343.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.0547, allocations: 126.4 kB / 343.4 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.05471, allocations: 4 kB / 343.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.05477, allocations: 64.72 kB / 343.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.05503, allocations: 97.77 kB / 343.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.05734, allocations: 343 kB / 343.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.05738, allocations: 76.86 kB / 344 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.591e-05/0.05747, allocations: 52.95 kB / 344.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.0576, allocations: 115.3 kB / 344.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0576, allocations: 0 / 344.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of Templates: time 0.02037/0.07797, allocations: 23.93 MB / 368.1 MB, free: 10.36 MB / 362.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 -ignoreHideResult -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.177120242267847]