Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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.001312/0.001312, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001023/0.001023, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1408/0.1408, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.955e-05, allocations: 10.19 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3328/0.3328, allocations: 144.4 MB / 492.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.3368, allocations: 4.821 MB / 496.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3369, allocations: 3.062 kB / 496.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.3372, allocations: 59.05 kB / 497 MB, free: 8.273 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.341, allocations: 1.62 MB / 498.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3413, allocations: 150.6 kB / 498.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005716/0.3419, allocations: 430.8 kB / 499.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.3419, allocations: 7.406 kB / 499.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.3422, allocations: 241 kB / 499.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.3425, allocations: 150.8 kB / 499.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.3426, allocations: 9.281 kB / 499.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.3447, allocations: 1.178 MB / 0.489 GB, free: 6.562 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3448, allocations: 56.42 kB / 0.489 GB, free: 6.531 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3449, allocations: 85.36 kB / 0.4891 GB, free: 6.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.3468, allocations: 1.066 MB / 0.4902 GB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3468, allocations: 0 / 0.4902 GB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3468, allocations: 3.938 kB / 0.4902 GB, free: 6.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3468, allocations: 0 / 0.4902 GB, free: 6.086 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001345/0.3481, allocations: 0.7519 MB / 0.4909 GB, free: 5.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3482, allocations: 16.66 kB / 0.4909 GB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.3519, allocations: 0.6373 MB / 0.4915 GB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.3524, allocations: 220 kB / 0.4917 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.3525, allocations: 228.3 kB / 0.492 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.3525, allocations: 33.78 kB / 0.492 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.3533, allocations: 0.7347 MB / 0.4927 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3533, allocations: 0 / 0.4927 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.3534, allocations: 11.03 kB / 0.4927 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.3534, allocations: 12.28 kB / 0.4927 GB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.354, allocations: 0.5158 MB / 0.4932 GB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.3555, allocations: 1.818 MB / 0.495 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.3558, allocations: 143.8 kB / 0.4952 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3559, allocations: 64.5 kB / 0.4952 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.3569, allocations: 0.7346 MB / 0.4959 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.357, allocations: 40.27 kB / 0.496 GB, free: 1.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/0.357, allocations: 3.938 kB / 0.496 GB, free: 1.645 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.0007442/0.3577, allocations: 317.6 kB / 0.4963 GB, free: 1.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3577, allocations: 58.86 kB / 0.4963 GB, free: 1.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3579, allocations: 250.3 kB / 0.4966 GB, free: 1.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3579, allocations: 29.7 kB / 0.4966 GB, free: 1.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.358, allocations: 232.8 kB / 0.4968 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.358, allocations: 68.23 kB / 0.4969 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.3581, allocations: 96.94 kB / 0.497 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.3582, allocations: 0.4978 MB / 0.4975 GB, free: 352 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.3583, allocations: 47.06 kB / 0.4975 GB, free: 340 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3585, allocations: 347.6 kB / 0.4978 GB, free: 15.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.3589, allocations: 434.1 kB / 0.4983 GB, free: 15.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3589, allocations: 2.5 kB / 0.4983 GB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004348/0.3593, allocations: 360 kB / 0.4986 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3594, allocations: 8.969 kB / 0.4986 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3594, allocations: 5.688 kB / 0.4986 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3594, allocations: 12.72 kB / 0.4986 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.3597, allocations: 122 kB / 0.4987 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/0.3601, allocations: 0.9146 MB / 0.4996 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3602, allocations: 46.05 kB / 0.4997 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.3603, allocations: 46.36 kB / 0.4997 GB, free: 14.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.3604, allocations: 187.5 kB / 0.4999 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.3605, allocations: 23.53 kB / 0.4999 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.3609, allocations: 330.7 kB / 0.5002 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3609, allocations: 7.438 kB / 0.5002 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3609, allocations: 0 / 0.5002 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3609, allocations: 3.984 kB / 0.5003 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3613, allocations: 0.5069 MB / 0.5007 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3613, allocations: 4.031 kB / 0.5008 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3614, allocations: 59.06 kB / 0.5008 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3615, allocations: 2.656 kB / 0.5008 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3615, allocations: 17.27 kB / 0.5008 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002851/0.3618, allocations: 0.9008 MB / 0.5017 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3618, allocations: 3.938 kB / 0.5017 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.362, allocations: 337.2 kB / 0.502 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3621, allocations: 27.52 kB / 0.5021 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3621, allocations: 10.81 kB / 0.5021 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3622, allocations: 9.422 kB / 0.5021 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.3622, allocations: 20.86 kB / 0.5021 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3623, allocations: 15.58 kB / 0.5021 GB, free: 12.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.3623, allocations: 175.3 kB / 0.5023 GB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3623, allocations: 0 / 0.5023 GB, free: 12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005466/0.3629, allocations: 216.6 kB / 0.5025 GB, free: 11.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.3636, allocations: 381.3 kB / 0.5028 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3639, allocations: 222.3 kB / 0.5031 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3639, allocations: 5.812 kB / 0.5031 GB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.364, allocations: 87.45 kB / 0.5031 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3643, allocations: 79.55 kB / 0.5032 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.3667, allocations: 1.991 MB / 0.5052 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.3667, allocations: 76.34 kB / 0.5052 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.367, allocations: 98.33 kB / 0.5053 GB, free: 9.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.367, allocations: 40.48 kB / 0.5054 GB, free: 9.082 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.367, allocations: 0 / 0.5054 GB, free: 9.082 MB / 378.7 MB Notification: Performance of Templates: time 0.009987/0.377, allocations: 7.906 MB / 0.5131 GB, free: 1.234 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.890733659733087]