Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.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_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_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 201.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2683/0.2683, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4349, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2097/0.6446, allocations: 153.3 MB / 0.6807 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008655/0.6533, allocations: 6.833 MB / 0.6874 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.6537, allocations: 4 kB / 0.6874 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.6542, allocations: 83.48 kB / 0.6875 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.6613, allocations: 2.205 MB / 0.6896 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.6618, allocations: 143 kB / 0.6898 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000988/0.6628, allocations: 0.5139 MB / 0.6903 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.6629, allocations: 16.31 kB / 0.6903 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.6636, allocations: 262.9 kB / 0.6905 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.6648, allocations: 470.7 kB / 0.691 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.6649, allocations: 12 kB / 0.691 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006169/0.671, allocations: 2.641 MB / 0.6936 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.6713, allocations: 167.5 kB / 0.6937 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.6717, allocations: 203.1 kB / 0.6939 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.677, allocations: 1.87 MB / 0.6957 GB, free: 8.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.677, allocations: 0 / 0.6957 GB, free: 8.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.677, allocations: 0 / 0.6957 GB, free: 8.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.677, allocations: 0 / 0.6957 GB, free: 8.41 MB / 0.545 GB 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.002698/0.6797, allocations: 0.9928 MB / 0.6967 GB, free: 7.367 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6798, allocations: 8.031 kB / 0.6967 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.6835, allocations: 0.4962 MB / 0.6972 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.6842, allocations: 383.5 kB / 0.6976 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.6843, allocations: 127.5 kB / 0.6977 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6845, allocations: 28 kB / 0.6977 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6861, allocations: 1.109 MB / 0.6988 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6861, allocations: 0 / 0.6988 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.6862, allocations: 16 kB / 0.6988 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.6863, allocations: 56.91 kB / 0.6989 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.6896, allocations: 2.264 MB / 0.7011 GB, free: 2.797 MB / 0.545 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.003926/0.6935, allocations: 2.637 MB / 0.7037 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.6938, allocations: 110.4 kB / 0.7038 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.6939, allocations: 55.03 kB / 0.7038 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004343/0.6982, allocations: 3.281 MB / 0.707 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.6983, allocations: 38.56 kB / 0.7071 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.6983, allocations: 0 / 0.7071 GB, free: 11.98 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=16): time 0.001222/0.6995, allocations: 303.2 kB / 0.7073 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.6996, allocations: 55.41 kB / 0.7074 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.7001, allocations: 384.1 kB / 0.7078 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.7001, allocations: 29.64 kB / 0.7078 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.7004, allocations: 378.7 kB / 0.7082 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.7005, allocations: 75.41 kB / 0.7082 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.7008, allocations: 162.5 kB / 0.7084 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.701, allocations: 342.8 kB / 0.7087 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.7013, allocations: 121.9 kB / 0.7088 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.7019, allocations: 0.5725 MB / 0.7094 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7029, allocations: 0.7392 MB / 0.7101 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.703, allocations: 8 kB / 0.7101 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001382/0.7044, allocations: 0.7459 MB / 0.7108 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.7044, allocations: 12 kB / 0.7109 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.7044, allocations: 16 kB / 0.7109 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.7045, allocations: 24 kB / 0.7109 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.7049, allocations: 183.7 kB / 0.7111 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003846/0.7053, allocations: 0.6214 MB / 0.7117 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.7059, allocations: 103.2 kB / 0.7118 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.706, allocations: 56 kB / 0.7118 GB, free: 6.559 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002782/0.7063, allocations: 205.4 kB / 0.712 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.7066, allocations: 87.73 kB / 0.7121 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.7071, allocations: 200.2 kB / 0.7123 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7071, allocations: 0 / 0.7123 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7071, allocations: 0 / 0.7123 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7071, allocations: 3.984 kB / 0.7123 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.7079, allocations: 0.5461 MB / 0.7128 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7079, allocations: 4 kB / 0.7128 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.7081, allocations: 27.98 kB / 0.7129 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.7081, allocations: 0 / 0.7129 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7081, allocations: 7.984 kB / 0.7129 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003054/0.7084, allocations: 0.5979 MB / 0.7135 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7084, allocations: 3.984 kB / 0.7135 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.7087, allocations: 260.5 kB / 0.7137 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.7088, allocations: 112.8 kB / 0.7138 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.7089, allocations: 11.94 kB / 0.7138 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.7091, allocations: 7.984 kB / 0.7138 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.7092, allocations: 11.98 kB / 0.7138 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.7092, allocations: 8 kB / 0.7139 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002566/0.7095, allocations: 255 kB / 0.7141 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7095, allocations: 3.938 kB / 0.7141 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001328/0.7108, allocations: 347.2 kB / 0.7144 GB, free: 3.715 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.002089/0.7129, allocations: 0.6373 MB / 0.7151 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.7136, allocations: 342.9 kB / 0.7154 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7136, allocations: 0 / 0.7154 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.7137, allocations: 44.8 kB / 0.7154 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.7142, allocations: 69.38 kB / 0.7155 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3406/1.055, allocations: 6.888 MB / 0.7222 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/1.055, allocations: 0.7856 MB / 0.723 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006932/1.056, allocations: 236.9 kB / 0.7232 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.056, allocations: 46.98 kB / 0.7233 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.056, allocations: 5.594 kB / 0.7233 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02167/1.078, allocations: 9.296 MB / 0.7323 GB, free: 175.9 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches