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.001858/0.001858, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.00232/0.00232, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.49/1.49, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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.2148/0.2148, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 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.1.|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.1.|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 0.002588/0.002588, allocations: 79.88 kB / 443.2 MB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2932, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1544/0.4475, allocations: 132 MB / 0.6262 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.4539, allocations: 4.742 MB / 0.6309 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.454, allocations: 3.938 kB / 0.6309 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.4543, allocations: 51.67 kB / 0.6309 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.4579, allocations: 1.34 MB / 0.6322 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.4582, allocations: 147.7 kB / 0.6324 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.4588, allocations: 398.1 kB / 0.6327 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.4589, allocations: 13.78 kB / 0.6327 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.4592, allocations: 175.4 kB / 0.6329 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.4595, allocations: 175.4 kB / 0.6331 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.4595, allocations: 11.94 kB / 0.6331 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.4616, allocations: 0.9628 MB / 0.634 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.4617, allocations: 43.88 kB / 0.6341 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4618, allocations: 91.59 kB / 0.6342 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.4632, allocations: 0.8493 MB / 0.635 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4632, allocations: 0 / 0.635 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4632, allocations: 0 / 0.635 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.4633, allocations: 0 / 0.635 GB, free: 8.098 MB / 0.5294 GB 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.001311/0.4646, allocations: 0.6294 MB / 0.6356 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.4646, allocations: 8.031 kB / 0.6356 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008567/0.4732, allocations: 0.641 MB / 0.6362 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.4737, allocations: 205.6 kB / 0.6364 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.474, allocations: 230.1 kB / 0.6367 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.474, allocations: 24 kB / 0.6367 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.4754, allocations: 0.7423 MB / 0.6374 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4754, allocations: 0 / 0.6374 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.4755, allocations: 16 kB / 0.6374 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.4755, allocations: 11.94 kB / 0.6374 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.477, allocations: 0.6146 MB / 0.638 GB, free: 4.805 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.4793, allocations: 1.406 MB / 0.6394 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.4796, allocations: 149.6 kB / 0.6395 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.4798, allocations: 76.75 kB / 0.6396 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.4809, allocations: 483 kB / 0.6401 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4809, allocations: 34.56 kB / 0.6401 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.481, allocations: 0 / 0.6401 GB, free: 2.551 MB / 0.5294 GB 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.001025/0.482, allocations: 326.9 kB / 0.6404 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.482, allocations: 59.34 kB / 0.6405 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4822, allocations: 202.4 kB / 0.6407 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.4822, allocations: 29.7 kB / 0.6407 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4824, allocations: 187.8 kB / 0.6409 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.4824, allocations: 75.36 kB / 0.641 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4826, allocations: 94 kB / 0.641 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4827, allocations: 334.8 kB / 0.6414 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4829, allocations: 60.7 kB / 0.6414 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.4832, allocations: 264 kB / 0.6417 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.4837, allocations: 373.2 kB / 0.642 GB, free: 360 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4837, allocations: 0 / 0.642 GB, free: 360 kB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006782/0.4844, allocations: 377.5 kB / 0.6424 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4844, allocations: 8 kB / 0.6424 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4844, allocations: 8 kB / 0.6424 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.4845, allocations: 8 kB / 0.6424 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.4849, allocations: 123.8 kB / 0.6425 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004634/0.4853, allocations: 0.6093 MB / 0.6431 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.4856, allocations: 39.73 kB / 0.6432 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.4856, allocations: 40.31 kB / 0.6432 GB, free: 15.12 MB / 0.545 GB 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.0001552/0.4858, allocations: 149.6 kB / 0.6433 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.4859, allocations: 19.91 kB / 0.6434 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/0.4867, allocations: 463.2 kB / 0.6438 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4867, allocations: 4 kB / 0.6438 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4867, allocations: 0 / 0.6438 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4868, allocations: 0 / 0.6438 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.4876, allocations: 0.5051 MB / 0.6443 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4876, allocations: 0 / 0.6443 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.4879, allocations: 55.97 kB / 0.6444 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4879, allocations: 0 / 0.6444 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4879, allocations: 15.98 kB / 0.6444 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003828/0.4883, allocations: 0.5937 MB / 0.645 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4883, allocations: 4.031 kB / 0.645 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4887, allocations: 301.1 kB / 0.6452 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.951e-05/0.4888, allocations: 36.03 kB / 0.6453 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.4888, allocations: 15.94 kB / 0.6453 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4891, allocations: 11.94 kB / 0.6453 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.4891, allocations: 23.91 kB / 0.6453 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.4892, allocations: 19.98 kB / 0.6453 GB, free: 12.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000133/0.4893, allocations: 132.6 kB / 0.6455 GB, free: 12.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4893, allocations: 0 / 0.6455 GB, free: 12.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006544/0.49, allocations: 175.5 kB / 0.6456 GB, free: 12.48 MB / 0.545 GB 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.0005183/0.4905, allocations: 258.7 kB / 0.6459 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.491, allocations: 224.5 kB / 0.6461 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.491, allocations: 0 / 0.6461 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.4912, allocations: 83.83 kB / 0.6462 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.4918, allocations: 65.48 kB / 0.6462 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4934, allocations: 0.8854 MB / 0.6471 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4935, allocations: 108.6 kB / 0.6472 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006871/0.4942, allocations: 390.1 kB / 0.6476 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4944, allocations: 60.44 kB / 0.6476 GB, free: 10.35 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.4944, allocations: 4 kB / 0.6476 GB, free: 10.35 MB / 0.545 GB Notification: Performance of Templates: time 0.01157/0.506, allocations: 5.762 MB / 0.6533 GB, free: 4.641 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_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: 5.550604090094566]