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.002676/0.002676, allocations: 84.98 kB / 20.21 MB, free: 4.191 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.003406/0.003406, allocations: 169.6 kB / 23.53 MB, free: 0.875 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.576/1.576, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 32.37 MB / 270 MB, free: 14.77 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.1.|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.1.|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.393e-06/1.393e-06, allocations: 0 / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.575e-05, allocations: 6.312 kB / 347 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3396/0.3396, allocations: 144 MB / 491 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.345, allocations: 4.793 MB / 495.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3453, allocations: 3.25 kB / 495.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.3457, allocations: 48.73 kB / 495.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.3502, allocations: 1.588 MB / 497.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3505, allocations: 143.6 kB / 497.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.351, allocations: 410 kB / 498 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.3511, allocations: 8.062 kB / 498 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.3515, allocations: 223.6 kB / 498.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.3518, allocations: 161.1 kB / 498.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.3518, allocations: 9.547 kB / 498.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.3542, allocations: 1.169 MB / 499.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.3542, allocations: 44.33 kB / 499.6 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3544, allocations: 84.89 kB / 499.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.3564, allocations: 1.097 MB / 0.489 GB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3564, allocations: 0 / 0.489 GB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3564, allocations: 0 / 0.489 GB, free: 6.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3564, allocations: 0 / 0.489 GB, free: 6.367 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.001299/0.3577, allocations: 0.7505 MB / 0.4898 GB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3577, allocations: 12.72 kB / 0.4898 GB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/0.3651, allocations: 0.6447 MB / 0.4904 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.3656, allocations: 210.4 kB / 0.4906 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3657, allocations: 225.1 kB / 0.4908 GB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3658, allocations: 30.41 kB / 0.4909 GB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3669, allocations: 0.8175 MB / 0.4917 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3669, allocations: 7.094 kB / 0.4917 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.367, allocations: 9.781 kB / 0.4917 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.367, allocations: 5.219 kB / 0.4917 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3681, allocations: 0.6541 MB / 0.4923 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.3699, allocations: 1.858 MB / 0.4941 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.3702, allocations: 166.2 kB / 0.4943 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3704, allocations: 78.86 kB / 0.4944 GB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.3716, allocations: 0.7344 MB / 0.4951 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.3716, allocations: 40.8 kB / 0.4951 GB, free: 1.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.3716, allocations: 0 / 0.4951 GB, free: 1.992 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.0009442/0.3726, allocations: 357.6 kB / 0.4955 GB, free: 1.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.3726, allocations: 58.7 kB / 0.4955 GB, free: 1.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3727, allocations: 253.3 kB / 0.4958 GB, free: 1.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3727, allocations: 32.17 kB / 0.4958 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3728, allocations: 234.4 kB / 0.496 GB, free: 1.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3728, allocations: 72.05 kB / 0.4961 GB, free: 1.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.3729, allocations: 99.39 kB / 0.4962 GB, free: 1.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.373, allocations: 0.5015 MB / 0.4967 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3731, allocations: 61.41 kB / 0.4967 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3733, allocations: 353 kB / 0.4971 GB, free: 232 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.3738, allocations: 470.4 kB / 0.4975 GB, free: 15.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3738, allocations: 0 / 0.4975 GB, free: 15.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006512/0.3745, allocations: 392.1 kB / 0.4979 GB, free: 15.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3745, allocations: 8.531 kB / 0.4979 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3745, allocations: 9.781 kB / 0.4979 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3745, allocations: 15.19 kB / 0.4979 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.3749, allocations: 119 kB / 0.498 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006411/0.3755, allocations: 0.9174 MB / 0.4989 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3758, allocations: 46.45 kB / 0.499 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.3758, allocations: 49.95 kB / 0.499 GB, free: 14.56 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.0001856/0.376, allocations: 187.9 kB / 0.4992 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3761, allocations: 25.81 kB / 0.4992 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/0.3768, allocations: 344.1 kB / 0.4995 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3768, allocations: 3.094 kB / 0.4996 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3768, allocations: 4 kB / 0.4996 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3768, allocations: 3.984 kB / 0.4996 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/0.3776, allocations: 0.5317 MB / 0.5001 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3776, allocations: 3.25 kB / 0.5001 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3779, allocations: 61.27 kB / 0.5001 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3779, allocations: 3.5 kB / 0.5001 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3779, allocations: 13.66 kB / 0.5002 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/0.3785, allocations: 0.9087 MB / 0.501 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3785, allocations: 4.031 kB / 0.501 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.379, allocations: 350.4 kB / 0.5014 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3791, allocations: 35.66 kB / 0.5014 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3791, allocations: 3.062 kB / 0.5014 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.3794, allocations: 13.67 kB / 0.5014 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3794, allocations: 16.17 kB / 0.5014 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3794, allocations: 15.8 kB / 0.5015 GB, free: 12.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3796, allocations: 181.3 kB / 0.5016 GB, free: 12.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 0.5016 GB, free: 12.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007343/0.3803, allocations: 213.3 kB / 0.5018 GB, free: 12.18 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.001125/0.3814, allocations: 373.7 kB / 0.5022 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.3821, allocations: 236.7 kB / 0.5024 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3821, allocations: 0 / 0.5024 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.3823, allocations: 108.1 kB / 0.5025 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.383, allocations: 80.64 kB / 0.5026 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.3869, allocations: 1.946 MB / 0.5045 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.387, allocations: 116.6 kB / 0.5046 GB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.3874, allocations: 102.2 kB / 0.5047 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3875, allocations: 40.48 kB / 0.5047 GB, free: 9.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3875, allocations: 4 kB / 0.5048 GB, free: 9.176 MB / 378.7 MB Notification: Performance of Templates: time 0.01418/0.4017, allocations: 6.736 MB / 0.5113 GB, free: 2.504 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",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: 5.9258797590155154]