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.0009372/0.0009372, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.001265/0.001265, allocations: 162.2 kB / 24.82 MB, free: 8.867 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.9568/0.9568, allocations: 177 MB / 205.1 MB, free: 5.488 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.2555/0.2555, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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 1.293e-06/1.293e-06, allocations: 0 / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.469e-05, allocations: 2.312 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3251/0.3251, allocations: 143.3 MB / 0.5104 GB, free: 17.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.3289, allocations: 5.374 MB / 0.5156 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.329, allocations: 2.031 kB / 0.5156 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3293, allocations: 54.27 kB / 0.5157 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.3315, allocations: 1.39 MB / 0.517 GB, free: 13.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3317, allocations: 152 kB / 0.5172 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.332, allocations: 426.7 kB / 0.5176 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.332, allocations: 9.844 kB / 0.5176 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.3323, allocations: 238.8 kB / 0.5178 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3324, allocations: 152.7 kB / 0.518 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3325, allocations: 12.05 kB / 0.518 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.3335, allocations: 1.002 MB / 0.5189 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.3336, allocations: 44.02 kB / 0.519 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.3336, allocations: 83.48 kB / 0.5191 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.3345, allocations: 0.9388 MB / 0.52 GB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3345, allocations: 0 / 0.52 GB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3345, allocations: 0 / 0.52 GB, free: 12.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.3345, allocations: 0 / 0.52 GB, free: 12.4 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.0007259/0.3352, allocations: 0.7199 MB / 0.5207 GB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3352, allocations: 8.062 kB / 0.5207 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.3385, allocations: 0.6615 MB / 0.5213 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3388, allocations: 209.3 kB / 0.5215 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.3388, allocations: 230.4 kB / 0.5218 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.3389, allocations: 28.78 kB / 0.5218 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.3394, allocations: 0.6897 MB / 0.5225 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3394, allocations: 0 / 0.5225 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.3394, allocations: 9.594 kB / 0.5225 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3395, allocations: 5.594 kB / 0.5225 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.3399, allocations: 454 kB / 0.5229 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.3408, allocations: 1.787 MB / 0.5247 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3409, allocations: 130.9 kB / 0.5248 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.341, allocations: 49.16 kB / 0.5248 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.3415, allocations: 0.5331 MB / 0.5253 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.3415, allocations: 39.56 kB / 0.5254 GB, free: 8.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.3415, allocations: 0 / 0.5254 GB, free: 8.883 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.0004542/0.3419, allocations: 289.8 kB / 0.5257 GB, free: 8.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.297e-05/0.342, allocations: 54.19 kB / 0.5257 GB, free: 8.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.342, allocations: 255.8 kB / 0.526 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3421, allocations: 32.23 kB / 0.526 GB, free: 8.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.3421, allocations: 238.9 kB / 0.5262 GB, free: 8.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3421, allocations: 73.28 kB / 0.5263 GB, free: 8.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.3422, allocations: 97.42 kB / 0.5264 GB, free: 8.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.3422, allocations: 0.5033 MB / 0.5269 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.3423, allocations: 41.39 kB / 0.5269 GB, free: 7.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3424, allocations: 328.1 kB / 0.5272 GB, free: 7.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3426, allocations: 419 kB / 0.5276 GB, free: 6.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3426, allocations: 3 kB / 0.5276 GB, free: 6.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002779/0.3429, allocations: 349.1 kB / 0.528 GB, free: 6.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3429, allocations: 5.656 kB / 0.528 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3429, allocations: 8.562 kB / 0.528 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3429, allocations: 8.281 kB / 0.528 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3431, allocations: 124.4 kB / 0.5281 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001567/0.3433, allocations: 0.9138 MB / 0.529 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3434, allocations: 44.27 kB / 0.529 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.3434, allocations: 39.72 kB / 0.5291 GB, free: 5.754 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 6.839e-05/0.3435, allocations: 192.5 kB / 0.5292 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3435, allocations: 25.73 kB / 0.5293 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.3439, allocations: 453.2 kB / 0.5297 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3439, allocations: 2.594 kB / 0.5297 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3439, allocations: 4 kB / 0.5297 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3439, allocations: 1.875 kB / 0.5297 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.3443, allocations: 0.5141 MB / 0.5302 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3443, allocations: 2.938 kB / 0.5302 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.3443, allocations: 53.69 kB / 0.5303 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3444, allocations: 2.719 kB / 0.5303 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3444, allocations: 17.12 kB / 0.5303 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001187/0.3445, allocations: 0.9132 MB / 0.5312 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3445, allocations: 3.438 kB / 0.5312 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3446, allocations: 351.5 kB / 0.5315 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.3447, allocations: 33.89 kB / 0.5316 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3447, allocations: 6.688 kB / 0.5316 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3448, allocations: 14.56 kB / 0.5316 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.3448, allocations: 26.64 kB / 0.5316 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3448, allocations: 24.14 kB / 0.5316 GB, free: 3.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.3449, allocations: 167.8 kB / 0.5318 GB, free: 3.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3449, allocations: 0 / 0.5318 GB, free: 3.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000349/0.3452, allocations: 174 kB / 0.5319 GB, free: 3.516 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.0003046/0.3455, allocations: 280 kB / 0.5322 GB, free: 3.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.3458, allocations: 203.8 kB / 0.5324 GB, free: 3.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3458, allocations: 7.062 kB / 0.5324 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.3458, allocations: 79.45 kB / 0.5325 GB, free: 3.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3461, allocations: 82.3 kB / 0.5326 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3472, allocations: 0.8791 MB / 0.5334 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.3473, allocations: 73.48 kB / 0.5335 GB, free: 2.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000464/0.3477, allocations: 386.2 kB / 0.5339 GB, free: 2.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.348, allocations: 191 kB / 0.534 GB, free: 2.512 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.348, allocations: 0 / 0.534 GB, free: 2.512 MB / 410.7 MB Notification: Performance of Templates: time 0.008329/0.3563, allocations: 6.82 MB / 0.5407 GB, free: 104 kB / 410.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.530513433739543]