Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000986/0.0009858, allocations: 175.2 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007625/0.0007623, allocations: 103.9 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 8 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2998/0.4024, allocations: 137.6 MB / 0.6137 GB, free: 13.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.4082, allocations: 5.776 MB / 0.6194 GB, free: 7.531 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.4084, allocations: 0 / 0.6194 GB, free: 7.531 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.4087, allocations: 67.62 kB / 0.6194 GB, free: 7.465 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.4134, allocations: 2.17 MB / 0.6215 GB, free: 5.297 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.4138, allocations: 144.1 kB / 0.6217 GB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.4145, allocations: 0.6191 MB / 0.6223 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.4145, allocations: 27.22 kB / 0.6223 GB, free: 4.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.4149, allocations: 227.1 kB / 0.6225 GB, free: 4.301 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000879/0.4158, allocations: 0.5377 MB / 0.6231 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.4158, allocations: 12 kB / 0.6231 GB, free: 3.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006326/0.4222, allocations: 4.027 MB / 0.627 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.4224, allocations: 175.5 kB / 0.6272 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.4226, allocations: 224.9 kB / 0.6274 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.425, allocations: 1.534 MB / 0.6289 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.425, allocations: 0 / 0.6289 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.425, allocations: 0 / 0.6289 GB, free: 13.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.425, allocations: 0 / 0.6289 GB, free: 13.78 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001955/0.427, allocations: 0.8462 MB / 0.6297 GB, free: 12.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.427, allocations: 11.97 kB / 0.6297 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.4371, allocations: 1.266 MB / 0.6309 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.4379, allocations: 371.7 kB / 0.6313 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.4381, allocations: 124 kB / 0.6314 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4382, allocations: 43.91 kB / 0.6315 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.4406, allocations: 1.437 MB / 0.6329 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4407, allocations: 7.922 kB / 0.6329 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.4408, allocations: 20 kB / 0.6329 GB, free: 9.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/0.4409, allocations: 48.97 kB / 0.6329 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005084/0.446, allocations: 2.627 MB / 0.6355 GB, free: 6.855 MB / 458.7 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.004456/0.4504, allocations: 3.673 MB / 0.6391 GB, free: 2.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.4507, allocations: 106.7 kB / 0.6392 GB, free: 2.637 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.4507, allocations: 44.94 kB / 0.6392 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003743/0.4545, allocations: 3.326 MB / 0.6425 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4545, allocations: 34.56 kB / 0.6425 GB, free: 14.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 4.018e-06/0.4546, allocations: 0 / 0.6425 GB, free: 14.71 MB / 474.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=18): time 0.001274/0.4558, allocations: 405 kB / 0.6429 GB, free: 14.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4559, allocations: 55.41 kB / 0.643 GB, free: 14.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.4562, allocations: 352.1 kB / 0.6433 GB, free: 13.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4563, allocations: 33.7 kB / 0.6433 GB, free: 13.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.4565, allocations: 357.3 kB / 0.6437 GB, free: 13.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4566, allocations: 67.19 kB / 0.6437 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.4566, allocations: 12 kB / 0.6437 GB, free: 13.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4567, allocations: 338.8 kB / 0.6441 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4569, allocations: 117.9 kB / 0.6442 GB, free: 12.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.4574, allocations: 0.578 MB / 0.6447 GB, free: 12.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.4581, allocations: 0.7513 MB / 0.6455 GB, free: 11.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4581, allocations: 4 kB / 0.6455 GB, free: 11.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001009/0.4592, allocations: 0.6852 MB / 0.6461 GB, free: 10.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4592, allocations: 12 kB / 0.6462 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.4592, allocations: 16 kB / 0.6462 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/0.4593, allocations: 24.06 kB / 0.6462 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.4598, allocations: 187.7 kB / 0.6464 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000358/0.4601, allocations: 0.6133 MB / 0.647 GB, free: 9.621 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.4606, allocations: 95.53 kB / 0.6471 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.4607, allocations: 71.92 kB / 0.6471 GB, free: 9.457 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.4609, allocations: 213.4 kB / 0.6473 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.461, allocations: 35.62 kB / 0.6474 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.4615, allocations: 241.6 kB / 0.6476 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4615, allocations: 0 / 0.6476 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4615, allocations: 7.984 kB / 0.6476 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4615, allocations: 0.875 kB / 0.6476 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007995/0.4623, allocations: 0.6616 MB / 0.6483 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4623, allocations: 0 / 0.6483 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4625, allocations: 35.92 kB / 0.6483 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.4625, allocations: 11.92 kB / 0.6483 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4625, allocations: 0 / 0.6483 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002869/0.4628, allocations: 0.5891 MB / 0.6489 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.4628, allocations: 7.969 kB / 0.6489 GB, free: 7.531 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.4631, allocations: 269.6 kB / 0.6491 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.4633, allocations: 132.6 kB / 0.6493 GB, free: 7.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.4634, allocations: 4 kB / 0.6493 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4636, allocations: 12 kB / 0.6493 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.4636, allocations: 15.92 kB / 0.6493 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.4637, allocations: 16.02 kB / 0.6493 GB, free: 7.043 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.4639, allocations: 235 kB / 0.6495 GB, free: 6.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4639, allocations: 0 / 0.6495 GB, free: 6.812 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00125/0.4651, allocations: 395.7 kB / 0.6499 GB, free: 6.426 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/0.4673, allocations: 0.7538 MB / 0.6507 GB, free: 5.672 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.468, allocations: 345.6 kB / 0.651 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.468, allocations: 64 / 0.651 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.4681, allocations: 59.84 kB / 0.651 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.4687, allocations: 53.39 kB / 0.6511 GB, free: 5.227 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.4754, allocations: 4.898 MB / 0.6559 GB, free: 272 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4758, allocations: 0.7973 MB / 0.6567 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.476, allocations: 55.42 kB / 0.6567 GB, free: 15.39 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.476, allocations: 4 kB / 0.6567 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Templates: time 0.01493/0.491, allocations: 10.47 MB / 0.6669 GB, free: 4.922 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches