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.001552/0.001552, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002138/0.002138, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.2282/0.2282, allocations: 46.97 MB / 361.6 MB, free: 4.039 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 0.00199/0.00199, allocations: 63.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 66.05 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01244/0.374, allocations: 8.334 MB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.3896, allocations: 12.4 MB / 0.5821 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.3897, allocations: 0 / 0.5821 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.39, allocations: 47.75 kB / 0.5821 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.3977, allocations: 2.43 MB / 0.5845 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.3978, allocations: 15.97 kB / 0.5845 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.398, allocations: 123.2 kB / 0.5846 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.398, allocations: 11.97 kB / 0.5846 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3982, allocations: 63.78 kB / 0.5847 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.3983, allocations: 43.84 kB / 0.5847 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3983, allocations: 4 kB / 0.5847 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.4107, allocations: 7.267 MB / 0.5918 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.4108, allocations: 15.92 kB / 0.5918 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4109, allocations: 39.86 kB / 0.5919 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.4289, allocations: 6.336 MB / 0.5981 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.429, allocations: 0 / 0.5981 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.429, allocations: 0 / 0.5981 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.429, allocations: 4 kB / 0.5981 GB, free: 14.96 MB / 446.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.004427/0.4334, allocations: 0.6713 MB / 0.5987 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4334, allocations: 8.031 kB / 0.5987 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.4336, allocations: 19.94 kB / 0.5988 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4338, allocations: 121.1 kB / 0.5989 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4338, allocations: 4 kB / 0.5989 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.4338, allocations: 11.98 kB / 0.5989 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.4343, allocations: 206.7 kB / 0.5991 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4343, allocations: 3.938 kB / 0.5991 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4343, allocations: 7.984 kB / 0.5991 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4343, allocations: 0 / 0.5991 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.4347, allocations: 115.8 kB / 0.5992 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.4353, allocations: 324.2 kB / 0.5995 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.4358, allocations: 134.5 kB / 0.5996 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.436, allocations: 48.81 kB / 0.5997 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/0.4384, allocations: 0.6399 MB / 0.6003 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.4388, allocations: 220.4 kB / 0.6005 GB, free: 12.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.4388, allocations: 0 / 0.6005 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.000827/0.4396, allocations: 233.4 kB / 0.6007 GB, free: 12.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4397, allocations: 59.41 kB / 0.6008 GB, free: 11.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4398, allocations: 101.9 kB / 0.6009 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.4398, allocations: 29.69 kB / 0.6009 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.4399, allocations: 95.88 kB / 0.601 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.44, allocations: 47.58 kB / 0.6011 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.44, allocations: 37.7 kB / 0.6011 GB, free: 11.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4402, allocations: 326.8 kB / 0.6014 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4403, allocations: 43.97 kB / 0.6015 GB, free: 11.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.4405, allocations: 64.5 kB / 0.6015 GB, free: 11.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.4408, allocations: 105.5 kB / 0.6016 GB, free: 11.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4408, allocations: 4.25 kB / 0.6016 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004059/0.4412, allocations: 157.5 kB / 0.6018 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4412, allocations: 8 kB / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4412, allocations: 4 kB / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4412, allocations: 0 / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4414, allocations: 27.92 kB / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4414, allocations: 4 kB / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4415, allocations: 19.94 kB / 0.6018 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4415, allocations: 8 kB / 0.6018 GB, free: 10.87 MB / 446.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.0001276/0.4416, allocations: 117.8 kB / 0.6019 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.4417, allocations: 11.94 kB / 0.602 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.4423, allocations: 369.2 kB / 0.6023 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004677/0.4428, allocations: 305.6 kB / 0.6026 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4428, allocations: 0 / 0.6026 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4428, allocations: 0 / 0.6026 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4439, allocations: 0.646 MB / 0.6032 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4439, allocations: 0 / 0.6032 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.444, allocations: 35.91 kB / 0.6033 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.4441, allocations: 4 kB / 0.6033 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4441, allocations: 0 / 0.6033 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4441, allocations: 0 / 0.6033 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4441, allocations: 0 / 0.6033 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.4448, allocations: 467.1 kB / 0.6037 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.4448, allocations: 19.88 kB / 0.6037 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.4449, allocations: 4 kB / 0.6037 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4451, allocations: 27.91 kB / 0.6038 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.4451, allocations: 27.89 kB / 0.6038 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4452, allocations: 8 kB / 0.6038 GB, free: 8.781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.4452, allocations: 79.28 kB / 0.6039 GB, free: 8.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4452, allocations: 0 / 0.6039 GB, free: 8.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003021/0.4482, allocations: 458.7 kB / 0.6043 GB, free: 8.254 MB / 446.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.0176/0.4658, allocations: 4.89 MB / 0.6091 GB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.4664, allocations: 193.4 kB / 0.6093 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4664, allocations: 0 / 0.6093 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.4667, allocations: 106 kB / 0.6094 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.4673, allocations: 83.78 kB / 0.6095 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4683, allocations: 391.2 kB / 0.6098 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4684, allocations: 107.1 kB / 0.6099 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.4686, allocations: 51.28 kB / 0.61 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.4686, allocations: 19.44 kB / 0.61 GB, free: 2.363 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4686, allocations: 0 / 0.61 GB, free: 2.363 MB / 446.1 MB Notification: Performance of Templates: time 0.03341/0.502, allocations: 21.38 MB / 0.6309 GB, free: 13.02 MB / 478.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/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/jenkins1/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.469231327006128]