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.001668/0.001668, allocations: 85.31 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.002046/0.002046, allocations: 165.6 kB / 23.95 MB, free: 4.168 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.479/1.479, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.217/0.217, allocations: 34.27 MB / 294.9 MB, free: 14.58 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_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.593e-06/1.593e-06, allocations: 0 / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.743e-05, allocations: 9.172 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.2195/0.2195, allocations: 8.321 MB / 451 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.2335, allocations: 12.39 MB / 463.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.2336, allocations: 0 / 463.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2339, allocations: 38.47 kB / 463.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.2444, allocations: 2.468 MB / 465.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2446, allocations: 21.25 kB / 465.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.2448, allocations: 134.8 kB / 466 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.2449, allocations: 11.86 kB / 466 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.2452, allocations: 80.09 kB / 466.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2453, allocations: 34.72 kB / 466.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.2453, allocations: 3.625 kB / 466.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.2629, allocations: 7.141 MB / 473.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.263, allocations: 14.58 kB / 473.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2631, allocations: 40.41 kB / 473.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02248/0.2856, allocations: 6.644 MB / 480 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2856, allocations: 0 / 480 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2856, allocations: 4 kB / 480 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2856, allocations: 0 / 480 MB, free: 0.9375 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.005241/0.2908, allocations: 0.6636 MB / 480.7 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2909, allocations: 12.03 kB / 480.7 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.2911, allocations: 23.69 kB / 480.7 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.402e-05/0.2912, allocations: 117.1 kB / 480.8 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2912, allocations: 11.92 kB / 480.8 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.2912, allocations: 8 kB / 480.8 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.2917, allocations: 205.2 kB / 481 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2917, allocations: 0 / 481 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2917, allocations: 8 kB / 481 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2917, allocations: 1.125 kB / 481 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.2922, allocations: 119.8 kB / 481.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.2928, allocations: 312.2 kB / 481.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.2933, allocations: 134.5 kB / 481.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2935, allocations: 57.36 kB / 481.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/0.2958, allocations: 0.6476 MB / 482.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.2963, allocations: 215.4 kB / 482.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2963, allocations: 0 / 482.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009614/0.2972, allocations: 235 kB / 482.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2973, allocations: 55.41 kB / 482.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.2974, allocations: 105.8 kB / 482.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.2974, allocations: 36.05 kB / 482.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.2975, allocations: 92.12 kB / 483 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.2975, allocations: 51.48 kB / 483.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.2976, allocations: 37.7 kB / 483.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2978, allocations: 318.8 kB / 483.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2979, allocations: 43.97 kB / 483.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2981, allocations: 65.67 kB / 483.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2984, allocations: 110.7 kB / 483.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2984, allocations: 3.938 kB / 483.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004426/0.2989, allocations: 150.6 kB / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2989, allocations: 6.656 kB / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2989, allocations: 0 / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2989, allocations: 4 kB / 483.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.299, allocations: 27.92 kB / 483.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2991, allocations: 3.984 kB / 483.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2992, allocations: 23.88 kB / 483.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.2992, allocations: 4 kB / 483.9 MB, free: 12.87 MB / 382.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: 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.0001203/0.2993, allocations: 126.4 kB / 484 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.2994, allocations: 4 kB / 484 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.3001, allocations: 361.3 kB / 484.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005896/0.3007, allocations: 297.7 kB / 484.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3007, allocations: 0.875 kB / 484.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3007, allocations: 7.984 kB / 484.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.302, allocations: 0.646 MB / 485.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.302, allocations: 3.938 kB / 485.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3021, allocations: 35.92 kB / 485.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3021, allocations: 0 / 485.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3021, allocations: 4.562 kB / 485.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3021, allocations: 0 / 485.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3021, allocations: 3.984 kB / 485.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.303, allocations: 455.2 kB / 485.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.303, allocations: 19.88 kB / 485.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3031, allocations: 6.688 kB / 485.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3033, allocations: 23.97 kB / 485.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.3034, allocations: 22.31 kB / 485.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.3034, allocations: 11.98 kB / 485.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.3034, allocations: 91.16 kB / 485.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 4.062 kB / 485.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003781/0.3072, allocations: 454.7 kB / 486.4 MB, free: 10.25 MB / 382.1 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.01956/0.3268, allocations: 4.956 MB / 491.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.3274, allocations: 194.3 kB / 491.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3274, allocations: 0 / 491.5 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.3277, allocations: 103.9 kB / 491.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.3283, allocations: 74.81 kB / 491.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.3292, allocations: 359.7 kB / 492.1 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3294, allocations: 119.2 kB / 492.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3295, allocations: 40.88 kB / 492.2 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.3296, allocations: 28.5 kB / 492.2 MB, free: 4.336 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3296, allocations: 0 / 492.2 MB, free: 4.336 MB / 382.1 MB Notification: Performance of Templates: time 0.03889/0.3685, allocations: 21.19 MB / 0.5014 GB, free: 15.18 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] 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: 8.724420860409737]