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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001195, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 72.22 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 62.46 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3363/0.4385, allocations: 153 MB / 0.6196 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.4439, allocations: 5.316 MB / 0.6248 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.444, allocations: 4 kB / 0.6248 GB, free: 4.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.4443, allocations: 55.59 kB / 0.6249 GB, free: 4.254 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.4473, allocations: 1.316 MB / 0.6261 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.4476, allocations: 142.8 kB / 0.6263 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.4482, allocations: 394.1 kB / 0.6266 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.4482, allocations: 21.67 kB / 0.6267 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.4485, allocations: 175.3 kB / 0.6268 GB, free: 2.223 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.4487, allocations: 163.5 kB / 0.627 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.4488, allocations: 8 kB / 0.627 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.4508, allocations: 1.099 MB / 0.6281 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.4508, allocations: 47.75 kB / 0.6281 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.451, allocations: 119.4 kB / 0.6282 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4522, allocations: 0.8499 MB / 0.6291 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.4522, allocations: 4 kB / 0.6291 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4522, allocations: 0 / 0.6291 GB, free: 15.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4522, allocations: 0 / 0.6291 GB, free: 15.94 MB / 478.1 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.00117/0.4534, allocations: 0.6827 MB / 0.6297 GB, free: 15.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4534, allocations: 13.47 kB / 0.6297 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/0.4606, allocations: 0.6135 MB / 0.6303 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.4611, allocations: 271.7 kB / 0.6306 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.4612, allocations: 119.4 kB / 0.6307 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.4613, allocations: 24 kB / 0.6307 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4624, allocations: 0.5634 MB / 0.6313 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4624, allocations: 0 / 0.6313 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.4625, allocations: 12 kB / 0.6313 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4625, allocations: 8 kB / 0.6313 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.4639, allocations: 0.6338 MB / 0.6319 GB, free: 12.86 MB / 478.1 MB 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.002058/0.466, allocations: 1.709 MB / 0.6336 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.4663, allocations: 157.1 kB / 0.6337 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.4664, allocations: 75.39 kB / 0.6338 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.4679, allocations: 1.479 MB / 0.6353 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4679, allocations: 42.48 kB / 0.6353 GB, free: 8.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.468, allocations: 4 kB / 0.6353 GB, free: 8.965 MB / 478.1 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.0009566/0.4689, allocations: 318 kB / 0.6356 GB, free: 8.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.469, allocations: 51.41 kB / 0.6357 GB, free: 8.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4691, allocations: 186.5 kB / 0.6358 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4692, allocations: 29.7 kB / 0.6359 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.4693, allocations: 183.3 kB / 0.636 GB, free: 8.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.4693, allocations: 71.02 kB / 0.6361 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4694, allocations: 89.95 kB / 0.6362 GB, free: 8.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4695, allocations: 330.8 kB / 0.6365 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4697, allocations: 68.7 kB / 0.6366 GB, free: 7.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.47, allocations: 260 kB / 0.6368 GB, free: 7.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.4704, allocations: 377.3 kB / 0.6372 GB, free: 6.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4705, allocations: 4 kB / 0.6372 GB, free: 6.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006009/0.4711, allocations: 364.8 kB / 0.6375 GB, free: 6.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4711, allocations: 8.938 kB / 0.6375 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4711, allocations: 4 kB / 0.6375 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4711, allocations: 12 kB / 0.6376 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4715, allocations: 127.8 kB / 0.6377 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003671/0.4719, allocations: 0.6015 MB / 0.6383 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4722, allocations: 49.34 kB / 0.6383 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.4722, allocations: 43.98 kB / 0.6384 GB, free: 5.574 MB / 478.1 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 0.0001331/0.4724, allocations: 141.8 kB / 0.6385 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.4724, allocations: 23.75 kB / 0.6385 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007772/0.4732, allocations: 465.5 kB / 0.639 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4732, allocations: 3.984 kB / 0.639 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4732, allocations: 0.5 kB / 0.639 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4732, allocations: 0 / 0.639 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.4741, allocations: 0.639 MB / 0.6396 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4741, allocations: 0 / 0.6396 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.4743, allocations: 68.39 kB / 0.6397 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4743, allocations: 0 / 0.6397 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.4743, allocations: 8 kB / 0.6397 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.4746, allocations: 0.6029 MB / 0.6402 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4747, allocations: 0 / 0.6402 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.475, allocations: 296.5 kB / 0.6405 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4751, allocations: 108.8 kB / 0.6406 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.4752, allocations: 15.78 kB / 0.6407 GB, free: 3.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.4754, allocations: 15.98 kB / 0.6407 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4755, allocations: 19.98 kB / 0.6407 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.4755, allocations: 20.86 kB / 0.6407 GB, free: 2.973 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.4756, allocations: 131.9 kB / 0.6408 GB, free: 2.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4756, allocations: 0 / 0.6408 GB, free: 2.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.4762, allocations: 168 kB / 0.641 GB, free: 2.68 MB / 478.1 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.0005556/0.4768, allocations: 287.3 kB / 0.6413 GB, free: 2.402 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.4772, allocations: 220.4 kB / 0.6415 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4773, allocations: 0 / 0.6415 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4775, allocations: 85.33 kB / 0.6416 GB, free: 2.105 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.478, allocations: 72.03 kB / 0.6416 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4794, allocations: 0.884 MB / 0.6425 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4797, allocations: 0.7245 MB / 0.6432 GB, free: 356 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006238/0.4803, allocations: 383.1 kB / 0.6436 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4805, allocations: 67.31 kB / 0.6436 GB, free: 15.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4805, allocations: 0 / 0.6436 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Templates: time 0.009344/0.4898, allocations: 5.701 MB / 0.6492 GB, free: 10.23 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (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 gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches