Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.002387/0.002387, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002562/0.002562, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.6/1.6, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.422/0.422, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.877e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3488/0.3489, allocations: 145.7 MB / 0.5108 GB, free: 17.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.3537, allocations: 5.386 MB / 0.516 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3539, allocations: 2.781 kB / 0.516 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.3541, allocations: 55.23 kB / 0.5161 GB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.3572, allocations: 1.359 MB / 0.5174 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3575, allocations: 142.2 kB / 0.5176 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.3579, allocations: 412.2 kB / 0.5179 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.3579, allocations: 7.625 kB / 0.518 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.3582, allocations: 230.4 kB / 0.5182 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.3584, allocations: 160.4 kB / 0.5183 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.3585, allocations: 6.312 kB / 0.5183 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.3601, allocations: 0.9741 MB / 0.5193 GB, free: 12.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.3602, allocations: 52.91 kB / 0.5193 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.3603, allocations: 79.62 kB / 0.5194 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.3615, allocations: 0.9544 MB / 0.5203 GB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3615, allocations: 0 / 0.5203 GB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3615, allocations: 2.406 kB / 0.5203 GB, free: 11.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3615, allocations: 0 / 0.5203 GB, free: 11.97 MB / 410.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.001076/0.3626, allocations: 0.719 MB / 0.521 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3626, allocations: 9.125 kB / 0.5211 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007516/0.3701, allocations: 0.6627 MB / 0.5217 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.3706, allocations: 211.2 kB / 0.5219 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3707, allocations: 227.8 kB / 0.5221 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.3708, allocations: 29 kB / 0.5221 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3718, allocations: 0.8194 MB / 0.5229 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3718, allocations: 0 / 0.5229 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.3719, allocations: 10.91 kB / 0.523 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3719, allocations: 14.72 kB / 0.523 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.373, allocations: 0.6547 MB / 0.5236 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3748, allocations: 1.839 MB / 0.5254 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.3751, allocations: 163.5 kB / 0.5256 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3752, allocations: 77.88 kB / 0.5256 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/0.3762, allocations: 0.5215 MB / 0.5261 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3762, allocations: 40.39 kB / 0.5262 GB, free: 8.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.3762, allocations: 0 / 0.5262 GB, free: 8.238 MB / 410.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=19): time 0.0009252/0.3771, allocations: 352.6 kB / 0.5265 GB, free: 8.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.3772, allocations: 54.28 kB / 0.5266 GB, free: 8.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3773, allocations: 256.3 kB / 0.5268 GB, free: 7.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3773, allocations: 32.27 kB / 0.5268 GB, free: 7.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3774, allocations: 242.1 kB / 0.5271 GB, free: 7.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.3774, allocations: 72.58 kB / 0.5271 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3775, allocations: 102.7 kB / 0.5272 GB, free: 7.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.3776, allocations: 0.4986 MB / 0.5277 GB, free: 6.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3777, allocations: 65.27 kB / 0.5278 GB, free: 6.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3779, allocations: 353.9 kB / 0.5281 GB, free: 6.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3783, allocations: 459.1 kB / 0.5286 GB, free: 6.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3783, allocations: 6.531 kB / 0.5286 GB, free: 6.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005277/0.3788, allocations: 385.2 kB / 0.5289 GB, free: 5.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3788, allocations: 9.469 kB / 0.529 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3788, allocations: 8.562 kB / 0.529 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3789, allocations: 8.438 kB / 0.529 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.3792, allocations: 129.7 kB / 0.5291 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002449/0.3795, allocations: 0.9105 MB / 0.53 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.3797, allocations: 52.67 kB / 0.53 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.3797, allocations: 44.16 kB / 0.5301 GB, free: 5.012 MB / 410.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.0001001/0.3798, allocations: 187.8 kB / 0.5303 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3799, allocations: 26.41 kB / 0.5303 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.3806, allocations: 483.6 kB / 0.5307 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3806, allocations: 2.781 kB / 0.5307 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3806, allocations: 0 / 0.5307 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3806, allocations: 2.578 kB / 0.5307 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.3813, allocations: 0.5711 MB / 0.5313 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3813, allocations: 2.875 kB / 0.5313 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.3815, allocations: 60.05 kB / 0.5314 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3815, allocations: 3.062 kB / 0.5314 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3815, allocations: 12.45 kB / 0.5314 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002082/0.3817, allocations: 0.9126 MB / 0.5323 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3817, allocations: 0 / 0.5323 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.382, allocations: 378 kB / 0.5326 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.3821, allocations: 33.92 kB / 0.5327 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3822, allocations: 6.031 kB / 0.5327 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.3824, allocations: 12.25 kB / 0.5327 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3824, allocations: 32.17 kB / 0.5327 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.3825, allocations: 15.72 kB / 0.5327 GB, free: 2.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.179e-05/0.3826, allocations: 181.8 kB / 0.5329 GB, free: 2.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3826, allocations: 0 / 0.5329 GB, free: 2.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006096/0.3832, allocations: 173.2 kB / 0.5331 GB, free: 2.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0004584/0.3836, allocations: 274.5 kB / 0.5333 GB, free: 2.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.3841, allocations: 236.6 kB / 0.5336 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3841, allocations: 0 / 0.5336 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3843, allocations: 97.45 kB / 0.5336 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.3848, allocations: 87.09 kB / 0.5337 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.3862, allocations: 0.8902 MB / 0.5346 GB, free: 1.902 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.3863, allocations: 112.8 kB / 0.5347 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005429/0.3868, allocations: 384.3 kB / 0.5351 GB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3869, allocations: 63.31 kB / 0.5351 GB, free: 1.746 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3869, allocations: 2.656 kB / 0.5351 GB, free: 1.746 MB / 410.7 MB Notification: Performance of Templates: time 0.0094/0.3963, allocations: 5.847 MB / 0.5408 GB, free: 15.79 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.812754819984548]