Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009537/0.0009538, allocations: 201.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 226.5 MB / 243.1 MB, free: 12.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007379/0.0007381, allocations: 104.1 kB / 295.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 44.85 MB / 392 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 4 kB / 464.7 MB, free: 68.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09332, allocations: 62.96 MB / 0.5153 GB, free: 5.16 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3377/0.4311, allocations: 136.5 MB / 0.6486 GB, free: 13.14 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006112/0.4373, allocations: 6.329 MB / 0.6548 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4374, allocations: 0 / 0.6548 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.4376, allocations: 59.64 kB / 0.6549 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.441, allocations: 1.5 MB / 0.6563 GB, free: 5.246 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.4413, allocations: 140.4 kB / 0.6565 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.4419, allocations: 0.6231 MB / 0.6571 GB, free: 4.488 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.442, allocations: 12.31 kB / 0.6571 GB, free: 4.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004054/0.4424, allocations: 231.1 kB / 0.6573 GB, free: 4.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.4432, allocations: 0.5572 MB / 0.6578 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.4433, allocations: 8 kB / 0.6578 GB, free: 3.684 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.4471, allocations: 2.394 MB / 0.6602 GB, free: 1.285 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.4473, allocations: 175.5 kB / 0.6604 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.4474, allocations: 101.5 kB / 0.6604 GB, free: 1.008 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.449, allocations: 1.23 MB / 0.6616 GB, free: 15.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.449, allocations: 4 kB / 0.6617 GB, free: 15.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.449, allocations: 4 kB / 0.6617 GB, free: 15.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4491, allocations: 0 / 0.6617 GB, free: 15.77 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.002045/0.4511, allocations: 0.8814 MB / 0.6625 GB, free: 14.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4512, allocations: 12.03 kB / 0.6625 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4616, allocations: 1.283 MB / 0.6638 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.4622, allocations: 382.3 kB / 0.6641 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.4624, allocations: 127.5 kB / 0.6643 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.4625, allocations: 32 kB / 0.6643 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.465, allocations: 1.433 MB / 0.6657 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.465, allocations: 0 / 0.6657 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.4651, allocations: 12 kB / 0.6657 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.4652, allocations: 56.91 kB / 0.6658 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.4703, allocations: 2.619 MB / 0.6683 GB, free: 8.801 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.00484/0.4752, allocations: 3.853 MB / 0.6721 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.4754, allocations: 82.58 kB / 0.6722 GB, free: 4.379 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.4755, allocations: 40.94 kB / 0.6722 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003931/0.4794, allocations: 3.253 MB / 0.6754 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4794, allocations: 34.56 kB / 0.6754 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4794, allocations: 0 / 0.6754 GB, free: 0.5508 MB / 458.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=12): time 0.001139/0.4806, allocations: 344.9 kB / 0.6757 GB, free: 212 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4806, allocations: 51.41 kB / 0.6758 GB, free: 148 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.481, allocations: 393.1 kB / 0.6762 GB, free: 15.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4811, allocations: 33.7 kB / 0.6762 GB, free: 15.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.4813, allocations: 369.1 kB / 0.6765 GB, free: 15.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4813, allocations: 59.28 kB / 0.6766 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.4814, allocations: 12 kB / 0.6766 GB, free: 15.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4815, allocations: 338.8 kB / 0.6769 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4817, allocations: 121.9 kB / 0.6771 GB, free: 14.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.4822, allocations: 0.5703 MB / 0.6776 GB, free: 14.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4826, allocations: 229.7 kB / 0.6778 GB, free: 13.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4826, allocations: 4 kB / 0.6778 GB, free: 13.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001043/0.4836, allocations: 0.6846 MB / 0.6785 GB, free: 13.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4837, allocations: 12 kB / 0.6785 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4837, allocations: 16 kB / 0.6785 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.4837, allocations: 28.72 kB / 0.6786 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.4842, allocations: 183.7 kB / 0.6787 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003874/0.4846, allocations: 0.6325 MB / 0.6794 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.4851, allocations: 94.97 kB / 0.6794 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.4852, allocations: 64 kB / 0.6795 GB, free: 12.06 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.0002011/0.4854, allocations: 205.4 kB / 0.6797 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.4855, allocations: 35.81 kB / 0.6797 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.4858, allocations: 179.1 kB / 0.6799 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4858, allocations: 3.953 kB / 0.6799 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4858, allocations: 0 / 0.6799 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4858, allocations: 4 kB / 0.6799 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.4863, allocations: 472 kB / 0.6804 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.4863, allocations: 4 kB / 0.6804 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4865, allocations: 23.94 kB / 0.6804 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4865, allocations: 0 / 0.6804 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4865, allocations: 8 kB / 0.6804 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002799/0.4868, allocations: 0.5939 MB / 0.681 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4868, allocations: 0 / 0.681 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.487, allocations: 212.8 kB / 0.6812 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4871, allocations: 124.6 kB / 0.6813 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.4872, allocations: 5.719 kB / 0.6813 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.4874, allocations: 11.98 kB / 0.6813 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.4874, allocations: 11.98 kB / 0.6813 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4875, allocations: 8 kB / 0.6813 GB, free: 10.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002332/0.4877, allocations: 243.2 kB / 0.6816 GB, free: 9.797 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4877, allocations: 0 / 0.6816 GB, free: 9.797 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009862/0.4887, allocations: 335.8 kB / 0.6819 GB, free: 9.469 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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.001359/0.4901, allocations: 483.9 kB / 0.6823 GB, free: 8.992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.4906, allocations: 339.5 kB / 0.6827 GB, free: 8.664 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4906, allocations: 4.125 kB / 0.6827 GB, free: 8.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.4907, allocations: 36 kB / 0.6827 GB, free: 8.625 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4912, allocations: 41.38 kB / 0.6827 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/0.5, allocations: 6.191 MB / 0.6888 GB, free: 2.348 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5004, allocations: 0.796 MB / 0.6896 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.5007, allocations: 71.41 kB / 0.6896 GB, free: 1.453 MB / 474.7 MB Notification: Performance of SimCode: time 2.215e-06/0.5007, allocations: 0 / 0.6896 GB, free: 1.453 MB / 474.7 MB Notification: Performance of Templates: time 0.01276/0.5135, allocations: 9.67 MB / 0.6991 GB, free: 7.789 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches