Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001764/0.001764, 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.002132/0.002132, allocations: 210.6 kB / 24.47 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2256/0.2256, allocations: 46.95 MB / 361.6 MB, free: 4.027 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_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3001, allocations: 66.05 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01207/0.3122, allocations: 8.047 MB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.3247, allocations: 9.893 MB / 0.5793 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3247, allocations: 0 / 0.5793 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.325, allocations: 35.81 kB / 0.5794 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.33, allocations: 1.854 MB / 0.5812 GB, free: 244 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.703e-06/0.33, allocations: 0 / 0.5812 GB, free: 244 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3301, allocations: 47.66 kB / 0.5812 GB, free: 196 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3302, allocations: 8 kB / 0.5812 GB, free: 188 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3303, allocations: 27.8 kB / 0.5813 GB, free: 160 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.3303, allocations: 31.84 kB / 0.5813 GB, free: 128 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.3304, allocations: 0 / 0.5813 GB, free: 128 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/0.3409, allocations: 6.682 MB / 0.5878 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.3409, allocations: 3.938 kB / 0.5878 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3409, allocations: 31.84 kB / 0.5879 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.3577, allocations: 5.092 MB / 0.5928 GB, free: 4.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.3577, allocations: 3.984 kB / 0.5928 GB, free: 4.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3577, allocations: 0 / 0.5928 GB, free: 4.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3577, allocations: 4 kB / 0.5928 GB, free: 4.289 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003636/0.3613, allocations: 0.5036 MB / 0.5933 GB, free: 3.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.3614, allocations: 8.031 kB / 0.5933 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3616, allocations: 4 kB / 0.5933 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3617, allocations: 117.2 kB / 0.5934 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3617, allocations: 0 / 0.5934 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3617, allocations: 11.98 kB / 0.5935 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3619, allocations: 77.67 kB / 0.5935 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3619, allocations: 3.938 kB / 0.5935 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3619, allocations: 0 / 0.5935 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.362, allocations: 7.938 kB / 0.5935 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3621, allocations: 75.97 kB / 0.5936 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.3627, allocations: 272.4 kB / 0.5939 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3628, allocations: 38.5 kB / 0.5939 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.3628, allocations: 28.92 kB / 0.5939 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004285/0.3671, allocations: 0.8076 MB / 0.5947 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3672, allocations: 30.56 kB / 0.5948 GB, free: 2.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.3672, allocations: 0 / 0.5948 GB, free: 2.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004276/0.3676, allocations: 117.6 kB / 0.5949 GB, free: 2.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3676, allocations: 55.41 kB / 0.5949 GB, free: 2.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3677, allocations: 97.86 kB / 0.595 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3678, allocations: 25.7 kB / 0.595 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3678, allocations: 92.02 kB / 0.5951 GB, free: 1.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3679, allocations: 27.86 kB / 0.5952 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.3679, allocations: 29.64 kB / 0.5952 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3681, allocations: 318.8 kB / 0.5955 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.3682, allocations: 23.98 kB / 0.5955 GB, free: 1.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.3682, allocations: 30 kB / 0.5955 GB, free: 1.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3684, allocations: 77.67 kB / 0.5956 GB, free: 1.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3684, allocations: 0 / 0.5956 GB, free: 1.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002466/0.3686, allocations: 97.58 kB / 0.5957 GB, free: 1.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3686, allocations: 4 kB / 0.5957 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3687, allocations: 0 / 0.5957 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3687, allocations: 0 / 0.5957 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.3688, allocations: 11.98 kB / 0.5957 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3688, allocations: 4 kB / 0.5957 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3688, allocations: 192 / 0.5957 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.3688, allocations: 8 kB / 0.5957 GB, free: 1.129 MB / 430.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001097/0.3689, allocations: 117.8 kB / 0.5958 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.369, allocations: 7.953 kB / 0.5959 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.3694, allocations: 153.5 kB / 0.596 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002149/0.3696, allocations: 117.7 kB / 0.5961 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3696, allocations: 0 / 0.5961 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3696, allocations: 0 / 0.5961 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3702, allocations: 377.9 kB / 0.5965 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3702, allocations: 0 / 0.5965 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.3703, allocations: 16 kB / 0.5965 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3703, allocations: 8 kB / 0.5965 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3703, allocations: 0 / 0.5965 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3704, allocations: 3.984 kB / 0.5965 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3704, allocations: 3.938 kB / 0.5965 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3707, allocations: 230.9 kB / 0.5967 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.3707, allocations: 12.08 kB / 0.5967 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3707, allocations: 3.938 kB / 0.5967 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.3708, allocations: 3.984 kB / 0.5967 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3708, allocations: 15.92 kB / 0.5968 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3709, allocations: 4 kB / 0.5968 GB, free: 8 kB / 430.1 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.3709, allocations: 75.28 kB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 4 kB / 0.5968 GB, free: 15.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002844/0.3738, allocations: 366.9 kB / 0.5972 GB, free: 15.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.02098/0.3948, allocations: 4.077 MB / 0.6012 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3952, allocations: 105.6 kB / 0.6013 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3952, allocations: 0 / 0.6013 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3953, allocations: 43.92 kB / 0.6013 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.3959, allocations: 48.42 kB / 0.6014 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.3965, allocations: 221.6 kB / 0.6016 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3966, allocations: 91.02 kB / 0.6017 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.3966, allocations: 11.94 kB / 0.6017 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3967, allocations: 19.42 kB / 0.6017 GB, free: 10.89 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3967, allocations: 0 / 0.6017 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Templates: time 0.03935/0.436, allocations: 18.47 MB / 0.6197 GB, free: 8.422 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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: 6.539028791987221]