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.001503/0.001503, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.001629/0.001629, allocations: 213.7 kB / 24.49 MB, free: 4.152 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.325/1.325, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 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.2043/0.2043, allocations: 46.94 MB / 361.5 MB, free: 4.195 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.002221/0.002221, allocations: 75.88 kB / 0.4975 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.264, allocations: 66.08 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1685/0.4325, allocations: 153.5 MB / 0.7119 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006241/0.4387, allocations: 5.345 MB / 0.7171 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.4389, allocations: 4 kB / 0.7171 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.4391, allocations: 51.61 kB / 0.7172 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.4425, allocations: 1.339 MB / 0.7185 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.4429, allocations: 148.9 kB / 0.7186 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.4435, allocations: 402.1 kB / 0.719 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.4435, allocations: 13.8 kB / 0.719 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.4438, allocations: 175.3 kB / 0.7192 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.4441, allocations: 179.4 kB / 0.7194 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.4442, allocations: 8 kB / 0.7194 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.4463, allocations: 1.119 MB / 0.7205 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.4464, allocations: 39.83 kB / 0.7205 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.4465, allocations: 111.5 kB / 0.7206 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.448, allocations: 0.8649 MB / 0.7214 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.448, allocations: 4 kB / 0.7215 GB, free: 344 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.448, allocations: 0 / 0.7215 GB, free: 344 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.448, allocations: 0 / 0.7215 GB, free: 344 kB / 0.545 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.001308/0.4493, allocations: 0.6216 MB / 0.7221 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.4493, allocations: 8.031 kB / 0.7221 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007243/0.4566, allocations: 0.6054 MB / 0.7227 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.4571, allocations: 213.5 kB / 0.7229 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.4573, allocations: 230.1 kB / 0.7231 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.4574, allocations: 20 kB / 0.7231 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4586, allocations: 0.5664 MB / 0.7237 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4586, allocations: 0 / 0.7237 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.4587, allocations: 12 kB / 0.7237 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.4587, allocations: 11.98 kB / 0.7237 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.4601, allocations: 0.6299 MB / 0.7243 GB, free: 13.29 MB / 0.5606 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.002162/0.4622, allocations: 1.59 MB / 0.7258 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.4626, allocations: 142.5 kB / 0.726 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.4627, allocations: 71.62 kB / 0.726 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.4638, allocations: 0.4911 MB / 0.7265 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.4638, allocations: 34.56 kB / 0.7266 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/0.4638, allocations: 0 / 0.7266 GB, free: 10.8 MB / 0.5606 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.0009132/0.4647, allocations: 325.5 kB / 0.7269 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.4648, allocations: 55.41 kB / 0.7269 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4649, allocations: 186.6 kB / 0.7271 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.465, allocations: 29.7 kB / 0.7271 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4651, allocations: 191.8 kB / 0.7273 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.4651, allocations: 71.36 kB / 0.7274 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4653, allocations: 98.02 kB / 0.7275 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4654, allocations: 326.8 kB / 0.7278 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4656, allocations: 72.64 kB / 0.7279 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4658, allocations: 260 kB / 0.7281 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.4663, allocations: 372.4 kB / 0.7285 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4663, allocations: 4 kB / 0.7285 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006221/0.4669, allocations: 369.4 kB / 0.7288 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.467, allocations: 8 kB / 0.7288 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.467, allocations: 8 kB / 0.7288 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.467, allocations: 12 kB / 0.7288 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.4674, allocations: 119.8 kB / 0.729 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003901/0.4678, allocations: 0.6057 MB / 0.7295 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.468, allocations: 47.78 kB / 0.7296 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.468, allocations: 39.98 kB / 0.7296 GB, free: 7.391 MB / 0.5606 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.0001477/0.4682, allocations: 147 kB / 0.7298 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.4683, allocations: 23.84 kB / 0.7298 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007924/0.469, allocations: 456.8 kB / 0.7302 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.469, allocations: 4 kB / 0.7302 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.469, allocations: 0 / 0.7302 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4691, allocations: 3.984 kB / 0.7302 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.4699, allocations: 0.5317 MB / 0.7308 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4699, allocations: 4 kB / 0.7308 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4701, allocations: 68.14 kB / 0.7308 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4701, allocations: 0 / 0.7308 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.4701, allocations: 12 kB / 0.7308 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003418/0.4705, allocations: 0.5977 MB / 0.7314 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4705, allocations: 3.938 kB / 0.7314 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.4708, allocations: 302.2 kB / 0.7317 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.4709, allocations: 31.88 kB / 0.7317 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.471, allocations: 7.938 kB / 0.7317 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.4712, allocations: 15.98 kB / 0.7318 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.4712, allocations: 11.98 kB / 0.7318 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.4713, allocations: 23.98 kB / 0.7318 GB, free: 5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001217/0.4714, allocations: 143.3 kB / 0.7319 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.4714, allocations: 0 / 0.7319 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006242/0.472, allocations: 179.5 kB / 0.7321 GB, free: 4.684 MB / 0.5606 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.0005121/0.4725, allocations: 254.7 kB / 0.7323 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004942/0.473, allocations: 232.4 kB / 0.7326 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.473, allocations: 0 / 0.7326 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.4732, allocations: 76.33 kB / 0.7326 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.4738, allocations: 68.22 kB / 0.7327 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4753, allocations: 0.9114 MB / 0.7336 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4757, allocations: 0.7284 MB / 0.7343 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.4759, allocations: 91.28 kB / 0.7344 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4759, allocations: 0 / 0.7344 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of Templates: time 0.2029/0.6789, allocations: 5.559 MB / 0.7398 GB, free: 174.1 MB / 0.5606 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 -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: 7.904848524834961]