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.001052/0.001052, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.6 MB / 243.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007398/0.0007396, allocations: 100.6 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2953/0.2953, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002463, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3046, allocations: 62.96 MB / 0.5159 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1526/0.4572, allocations: 136.5 MB / 0.6492 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.4641, allocations: 6.324 MB / 0.6554 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.4643, allocations: 4 kB / 0.6554 GB, free: 10.26 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.4647, allocations: 63.62 kB / 0.6554 GB, free: 10.2 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.4699, allocations: 1.953 MB / 0.6573 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.4704, allocations: 141.9 kB / 0.6575 GB, free: 8.109 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.4712, allocations: 0.6192 MB / 0.6581 GB, free: 7.488 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.4713, allocations: 12.31 kB / 0.6581 GB, free: 7.477 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.4717, allocations: 227.2 kB / 0.6583 GB, free: 7.254 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.4727, allocations: 0.5611 MB / 0.6589 GB, free: 6.691 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.4727, allocations: 12 kB / 0.6589 GB, free: 6.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00638/0.4791, allocations: 3.742 MB / 0.6625 GB, free: 2.93 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.4793, allocations: 175.5 kB / 0.6627 GB, free: 2.758 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.4796, allocations: 228.9 kB / 0.6629 GB, free: 2.527 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.4819, allocations: 1.436 MB / 0.6643 GB, free: 1.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4819, allocations: 4 kB / 0.6643 GB, free: 1.086 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4819, allocations: 0 / 0.6643 GB, free: 1.086 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4819, allocations: 3.938 kB / 0.6643 GB, free: 1.082 MB / 474.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.002058/0.484, allocations: 0.8817 MB / 0.6652 GB, free: 156 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4841, allocations: 12.03 kB / 0.6652 GB, free: 144 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.4943, allocations: 1.284 MB / 0.6664 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.4951, allocations: 375.5 kB / 0.6668 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.4952, allocations: 127.5 kB / 0.6669 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4954, allocations: 31.98 kB / 0.6669 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.4979, allocations: 1.433 MB / 0.6683 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4979, allocations: 4 kB / 0.6684 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.498, allocations: 12 kB / 0.6684 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.4981, allocations: 60.97 kB / 0.6684 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.5033, allocations: 2.615 MB / 0.671 GB, free: 10.11 MB / 490.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.004497/0.5078, allocations: 3.856 MB / 0.6747 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.508, allocations: 82.58 kB / 0.6748 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.5081, allocations: 40.98 kB / 0.6749 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.5119, allocations: 3.25 MB / 0.678 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5119, allocations: 30.56 kB / 0.6781 GB, free: 1.863 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/0.5119, allocations: 0 / 0.6781 GB, free: 1.863 MB / 490.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.001158/0.5131, allocations: 351 kB / 0.6784 GB, free: 1.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5132, allocations: 51.41 kB / 0.6784 GB, free: 1.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.5136, allocations: 393.1 kB / 0.6788 GB, free: 1.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5136, allocations: 29.7 kB / 0.6788 GB, free: 1.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.5138, allocations: 369.1 kB / 0.6792 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.5138, allocations: 55.3 kB / 0.6793 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.5139, allocations: 12 kB / 0.6793 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.514, allocations: 342.8 kB / 0.6796 GB, free: 256 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.5142, allocations: 117.9 kB / 0.6797 GB, free: 136 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2328/0.747, allocations: 0.5696 MB / 0.6803 GB, free: 142.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.7477, allocations: 0.7372 MB / 0.681 GB, free: 142.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.7478, allocations: 8.125 kB / 0.681 GB, free: 142.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001309/0.7491, allocations: 0.6867 MB / 0.6817 GB, free: 142 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.7491, allocations: 12.25 kB / 0.6817 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.7492, allocations: 16.12 kB / 0.6817 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.971e-05/0.7492, allocations: 26.52 kB / 0.6817 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.7498, allocations: 192.4 kB / 0.6819 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/0.7502, allocations: 0.6148 MB / 0.6825 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.7507, allocations: 96.81 kB / 0.6826 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.7508, allocations: 64.94 kB / 0.6826 GB, free: 141.4 MB / 490.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.0002309/0.751, allocations: 209.5 kB / 0.6828 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.7512, allocations: 35.25 kB / 0.6829 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.7515, allocations: 176.2 kB / 0.6831 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7515, allocations: 3.938 kB / 0.6831 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7515, allocations: 0 / 0.6831 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7515, allocations: 5.375 kB / 0.6831 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.7521, allocations: 476.6 kB / 0.6835 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7521, allocations: 1.312 kB / 0.6835 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.7522, allocations: 28.36 kB / 0.6835 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7522, allocations: 2.406 kB / 0.6835 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.7522, allocations: 1.594 kB / 0.6835 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001817/0.7524, allocations: 0.5902 MB / 0.6841 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7524, allocations: 0.9062 kB / 0.6841 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.7526, allocations: 216.6 kB / 0.6843 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.7527, allocations: 124.6 kB / 0.6844 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.7527, allocations: 4 kB / 0.6845 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.753, allocations: 10.94 kB / 0.6845 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.753, allocations: 17.23 kB / 0.6845 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.753, allocations: 10.62 kB / 0.6845 GB, free: 139.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.7532, allocations: 245.6 kB / 0.6847 GB, free: 139.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7532, allocations: 0 / 0.6847 GB, free: 139.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001174/0.7544, allocations: 356.3 kB / 0.6851 GB, free: 139.7 MB / 490.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.001616/0.756, allocations: 0.6391 MB / 0.6857 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.7566, allocations: 332.4 kB / 0.686 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7566, allocations: 1.531 kB / 0.686 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.7567, allocations: 38.27 kB / 0.686 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.7571, allocations: 43.41 kB / 0.6861 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/0.7649, allocations: 6.204 MB / 0.6921 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.7651, allocations: 0.7901 MB / 0.6929 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.7654, allocations: 72.39 kB / 0.693 GB, free: 136.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7654, allocations: 0 / 0.693 GB, free: 136.7 MB / 490.7 MB Notification: Performance of Templates: time 0.01551/0.7809, allocations: 9.823 MB / 0.7026 GB, free: 135.7 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