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.001005/0.001005, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001026/0.001026, allocations: 161 kB / 24.99 MB, free: 9.324 MB / 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2899/0.2899, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 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.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_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.[0-9,]+.|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.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.917e-05, allocations: 6.25 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3239/0.324, allocations: 145.8 MB / 0.5115 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.3288, allocations: 5.381 MB / 0.5168 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.329, allocations: 0 / 0.5168 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3293, allocations: 52.02 kB / 0.5168 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.3325, allocations: 1.355 MB / 0.5182 GB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3328, allocations: 138.8 kB / 0.5183 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.3333, allocations: 418.2 kB / 0.5187 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.3334, allocations: 10.66 kB / 0.5187 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3336, allocations: 224 kB / 0.5189 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.3339, allocations: 156.9 kB / 0.5191 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.3339, allocations: 8 kB / 0.5191 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.3357, allocations: 0.9786 MB / 0.52 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.3357, allocations: 51 kB / 0.5201 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.266e-05/0.3358, allocations: 82.81 kB / 0.5202 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3371, allocations: 0.9361 MB / 0.5211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3371, allocations: 0 / 0.5211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3371, allocations: 0 / 0.5211 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3371, allocations: 0 / 0.5211 GB, free: 11.87 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.001104/0.3382, allocations: 0.7172 MB / 0.5218 GB, free: 11.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3383, allocations: 11.09 kB / 0.5218 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.3436, allocations: 0.6664 MB / 0.5224 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.344, allocations: 207.6 kB / 0.5226 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3441, allocations: 222 kB / 0.5229 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.3442, allocations: 29.03 kB / 0.5229 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.3451, allocations: 0.7393 MB / 0.5236 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3451, allocations: 0 / 0.5236 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.3451, allocations: 13.41 kB / 0.5236 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.3452, allocations: 6.312 kB / 0.5236 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.3461, allocations: 0.5141 MB / 0.5241 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3475, allocations: 1.816 MB / 0.5259 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3477, allocations: 146.1 kB / 0.526 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.3478, allocations: 66.25 kB / 0.5261 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.3485, allocations: 0.5177 MB / 0.5266 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3486, allocations: 39.81 kB / 0.5266 GB, free: 8.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.3486, allocations: 0 / 0.5266 GB, free: 8.262 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.0007575/0.3493, allocations: 311.7 kB / 0.5269 GB, free: 8.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.3493, allocations: 58.38 kB / 0.527 GB, free: 8.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3495, allocations: 251.7 kB / 0.5272 GB, free: 7.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3495, allocations: 28.64 kB / 0.5273 GB, free: 7.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.3496, allocations: 244.2 kB / 0.5275 GB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3496, allocations: 70.5 kB / 0.5276 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.3497, allocations: 96.48 kB / 0.5277 GB, free: 7.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.3497, allocations: 0.4958 MB / 0.5281 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.3498, allocations: 54.08 kB / 0.5282 GB, free: 7.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.35, allocations: 341 kB / 0.5285 GB, free: 6.645 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3503, allocations: 424.1 kB / 0.5289 GB, free: 6.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3503, allocations: 2.812 kB / 0.5289 GB, free: 6.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004696/0.3508, allocations: 365.7 kB / 0.5293 GB, free: 6.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3508, allocations: 10.89 kB / 0.5293 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3508, allocations: 9.719 kB / 0.5293 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3508, allocations: 11.31 kB / 0.5293 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3511, allocations: 127.1 kB / 0.5294 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.3513, allocations: 0.9137 MB / 0.5303 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3515, allocations: 47.52 kB / 0.5304 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.3516, allocations: 43.41 kB / 0.5304 GB, free: 5.098 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 9.602e-05/0.3517, allocations: 181 kB / 0.5306 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.3517, allocations: 30.36 kB / 0.5306 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.3523, allocations: 448.8 kB / 0.531 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3523, allocations: 2.219 kB / 0.531 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3523, allocations: 0 / 0.531 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3523, allocations: 0 / 0.531 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.3528, allocations: 0.5567 MB / 0.5316 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3528, allocations: 3.938 kB / 0.5316 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.353, allocations: 63.78 kB / 0.5316 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.353, allocations: 0 / 0.5316 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.353, allocations: 9.984 kB / 0.5316 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001615/0.3532, allocations: 0.9061 MB / 0.5325 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3532, allocations: 320 / 0.5325 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.3534, allocations: 373 kB / 0.5329 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.3535, allocations: 31 kB / 0.5329 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3535, allocations: 9.5 kB / 0.5329 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3537, allocations: 8.5 kB / 0.5329 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3537, allocations: 26.8 kB / 0.533 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3537, allocations: 21.25 kB / 0.533 GB, free: 3.012 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.3538, allocations: 180 kB / 0.5332 GB, free: 2.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3538, allocations: 0 / 0.5332 GB, free: 2.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006276/0.3544, allocations: 162.8 kB / 0.5333 GB, free: 2.848 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.0004426/0.3549, allocations: 289.9 kB / 0.5336 GB, free: 2.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3553, allocations: 212.8 kB / 0.5338 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3553, allocations: 1.812 kB / 0.5338 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3554, allocations: 83.83 kB / 0.5339 GB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.3558, allocations: 84.27 kB / 0.534 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3573, allocations: 0.8781 MB / 0.5348 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.3574, allocations: 71.31 kB / 0.5349 GB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.3579, allocations: 383.7 kB / 0.5352 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.358, allocations: 58.81 kB / 0.5353 GB, free: 1.898 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.358, allocations: 0 / 0.5353 GB, free: 1.898 MB / 410.7 MB Notification: Performance of Templates: time 0.007892/0.3659, allocations: 5.861 MB / 0.541 GB, free: 24 kB / 410.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","",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: 3.946016945876181]