Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 160.5 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9905/0.9905, allocations: 177 MB / 205.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3202/0.3202, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.207e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3436/0.3436, allocations: 145.8 MB / 0.5122 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003976/0.3476, allocations: 5.378 MB / 0.5175 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3478, allocations: 3.344 kB / 0.5175 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.348, allocations: 51.62 kB / 0.5175 GB, free: 13.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.3512, allocations: 1.364 MB / 0.5189 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3514, allocations: 139.5 kB / 0.519 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.3518, allocations: 410.1 kB / 0.5194 GB, free: 12.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.3519, allocations: 7.375 kB / 0.5194 GB, free: 12.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.3521, allocations: 225.4 kB / 0.5196 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.3524, allocations: 158 kB / 0.5198 GB, free: 12.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3524, allocations: 12.81 kB / 0.5198 GB, free: 12.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3538, allocations: 0.9768 MB / 0.5207 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3539, allocations: 56.98 kB / 0.5208 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.3539, allocations: 78.55 kB / 0.5209 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.355, allocations: 0.9375 MB / 0.5218 GB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.355, allocations: 0 / 0.5218 GB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.355, allocations: 0 / 0.5218 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.355, allocations: 0 / 0.5218 GB, free: 11.38 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.001035/0.356, allocations: 0.7151 MB / 0.5225 GB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3561, allocations: 8.969 kB / 0.5225 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/0.36, allocations: 0.6603 MB / 0.5231 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3603, allocations: 212.1 kB / 0.5233 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.3604, allocations: 232.2 kB / 0.5236 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.3605, allocations: 28.97 kB / 0.5236 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3611, allocations: 0.7379 MB / 0.5243 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3611, allocations: 0 / 0.5243 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.3612, allocations: 11.8 kB / 0.5243 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.3612, allocations: 6.312 kB / 0.5243 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.3618, allocations: 0.5198 MB / 0.5248 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3628, allocations: 1.82 MB / 0.5266 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.363, allocations: 138.9 kB / 0.5267 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.3631, allocations: 62.19 kB / 0.5268 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.3636, allocations: 0.5119 MB / 0.5273 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3637, allocations: 43.27 kB / 0.5273 GB, free: 7.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3637, allocations: 0 / 0.5273 GB, free: 7.773 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.0005825/0.3642, allocations: 310.8 kB / 0.5276 GB, free: 7.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3643, allocations: 53.81 kB / 0.5277 GB, free: 7.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3644, allocations: 252 kB / 0.5279 GB, free: 7.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3644, allocations: 32.67 kB / 0.528 GB, free: 7.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.3645, allocations: 237.5 kB / 0.5282 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3645, allocations: 70.36 kB / 0.5283 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.3646, allocations: 100.4 kB / 0.5284 GB, free: 7.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.3646, allocations: 0.4985 MB / 0.5288 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.3647, allocations: 54 kB / 0.5289 GB, free: 6.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3648, allocations: 338 kB / 0.5292 GB, free: 6.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3651, allocations: 431.2 kB / 0.5296 GB, free: 5.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3651, allocations: 3.125 kB / 0.5296 GB, free: 5.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003659/0.3654, allocations: 367.3 kB / 0.53 GB, free: 5.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3655, allocations: 11.16 kB / 0.53 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3655, allocations: 9.25 kB / 0.53 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3655, allocations: 12.62 kB / 0.53 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3657, allocations: 125.9 kB / 0.5301 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.3659, allocations: 0.9098 MB / 0.531 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.366, allocations: 45.98 kB / 0.5311 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3661, allocations: 40.77 kB / 0.5311 GB, free: 4.613 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 8.428e-05/0.3661, allocations: 190.2 kB / 0.5313 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3662, allocations: 29.27 kB / 0.5313 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.3666, allocations: 454.9 kB / 0.5317 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3666, allocations: 6.547 kB / 0.5318 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3666, allocations: 0 / 0.5318 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3667, allocations: 0 / 0.5318 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.3671, allocations: 0.5546 MB / 0.5323 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3671, allocations: 2.625 kB / 0.5323 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3672, allocations: 60.3 kB / 0.5324 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3672, allocations: 3.531 kB / 0.5324 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3672, allocations: 11.28 kB / 0.5324 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001298/0.3673, allocations: 0.9073 MB / 0.5333 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3673, allocations: 4.25 kB / 0.5333 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3675, allocations: 360.7 kB / 0.5336 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3675, allocations: 34.78 kB / 0.5336 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3676, allocations: 6.906 kB / 0.5336 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3677, allocations: 13.95 kB / 0.5337 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3677, allocations: 27.3 kB / 0.5337 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3677, allocations: 17.19 kB / 0.5337 GB, free: 2.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.3678, allocations: 179.9 kB / 0.5339 GB, free: 2.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3678, allocations: 0 / 0.5339 GB, free: 2.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.3682, allocations: 164.8 kB / 0.534 GB, free: 2.355 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.0003509/0.3686, allocations: 283.6 kB / 0.5343 GB, free: 2.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.3689, allocations: 215.1 kB / 0.5345 GB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3689, allocations: 3.312 kB / 0.5345 GB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.3689, allocations: 78.53 kB / 0.5346 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3693, allocations: 89.58 kB / 0.5347 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3706, allocations: 0.8725 MB / 0.5355 GB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.3706, allocations: 73.61 kB / 0.5356 GB, free: 1.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.371, allocations: 384.4 kB / 0.536 GB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3711, allocations: 57.12 kB / 0.536 GB, free: 1.406 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3711, allocations: 0 / 0.536 GB, free: 1.406 MB / 410.7 MB Notification: Performance of Templates: time 0.007125/0.3783, allocations: 5.857 MB / 0.5417 GB, free: 15.43 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8366251289844513]