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.001463/0.001463, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 72.17 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.438, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2138/0.6519, allocations: 153.3 MB / 0.6807 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008475/0.6604, allocations: 6.825 MB / 0.6874 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.6607, allocations: 4 kB / 0.6874 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.6613, allocations: 87.48 kB / 0.6875 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.6696, allocations: 2.194 MB / 0.6896 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.6701, allocations: 149.9 kB / 0.6897 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009794/0.6711, allocations: 0.5138 MB / 0.6902 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.295e-05/0.6712, allocations: 16.31 kB / 0.6903 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006472/0.6718, allocations: 262.9 kB / 0.6905 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.6729, allocations: 470.7 kB / 0.691 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.6729, allocations: 15.94 kB / 0.691 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.6798, allocations: 2.638 MB / 0.6936 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.68, allocations: 163.6 kB / 0.6937 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.6804, allocations: 211 kB / 0.6939 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.6867, allocations: 1.862 MB / 0.6957 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6867, allocations: 0 / 0.6957 GB, free: 8.453 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6867, allocations: 0 / 0.6957 GB, free: 8.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.6867, allocations: 0 / 0.6957 GB, free: 8.453 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.003082/0.6898, allocations: 0.9928 MB / 0.6967 GB, free: 7.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6899, allocations: 8.031 kB / 0.6967 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.6935, allocations: 0.5 MB / 0.6972 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.6942, allocations: 379.5 kB / 0.6976 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.6943, allocations: 131.5 kB / 0.6977 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6945, allocations: 28 kB / 0.6977 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6961, allocations: 1.105 MB / 0.6988 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6962, allocations: 4 kB / 0.6988 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6963, allocations: 19.98 kB / 0.6988 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.949e-05/0.6964, allocations: 56.91 kB / 0.6989 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.6995, allocations: 2.264 MB / 0.7011 GB, free: 2.832 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.003642/0.7032, allocations: 2.637 MB / 0.7037 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.7034, allocations: 118.3 kB / 0.7038 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.7035, allocations: 55.66 kB / 0.7038 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003997/0.7075, allocations: 3.277 MB / 0.707 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.7076, allocations: 34.56 kB / 0.7071 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 4.699e-06/0.7076, allocations: 4 kB / 0.7071 GB, free: 12 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.001051/0.7087, allocations: 301.5 kB / 0.7073 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.7087, allocations: 59.39 kB / 0.7074 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.7091, allocations: 380.1 kB / 0.7078 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.7091, allocations: 37.7 kB / 0.7078 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.7093, allocations: 374.7 kB / 0.7082 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.7094, allocations: 71.47 kB / 0.7082 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.7096, allocations: 170.5 kB / 0.7084 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7097, allocations: 338.8 kB / 0.7087 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.7099, allocations: 121.9 kB / 0.7088 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.7104, allocations: 0.5686 MB / 0.7094 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.7112, allocations: 0.7431 MB / 0.7101 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.7112, allocations: 4 kB / 0.7101 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001338/0.7126, allocations: 0.7476 MB / 0.7108 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.7126, allocations: 14.19 kB / 0.7109 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.7127, allocations: 16 kB / 0.7109 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.7127, allocations: 20 kB / 0.7109 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.7132, allocations: 187.7 kB / 0.7111 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003754/0.7136, allocations: 0.6132 MB / 0.7117 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.714, allocations: 99.5 kB / 0.7118 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.7141, allocations: 60 kB / 0.7118 GB, free: 6.594 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.0002097/0.7143, allocations: 205.4 kB / 0.712 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.7147, allocations: 87.67 kB / 0.7121 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.7151, allocations: 203.3 kB / 0.7123 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7151, allocations: 4 kB / 0.7123 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7151, allocations: 0 / 0.7123 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.7151, allocations: 3.984 kB / 0.7123 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.7158, allocations: 0.5422 MB / 0.7128 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7158, allocations: 0 / 0.7128 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.7159, allocations: 31.92 kB / 0.7129 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.716, allocations: 4 kB / 0.7129 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.716, allocations: 4 kB / 0.7129 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000299/0.7163, allocations: 0.5939 MB / 0.7134 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7163, allocations: 4.031 kB / 0.7135 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.7166, allocations: 264 kB / 0.7137 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.7167, allocations: 116.8 kB / 0.7138 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.7168, allocations: 7.984 kB / 0.7138 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.717, allocations: 15.97 kB / 0.7138 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.7171, allocations: 19.92 kB / 0.7139 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.7171, allocations: 4 kB / 0.7139 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002307/0.7173, allocations: 247.2 kB / 0.7141 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7173, allocations: 7.938 kB / 0.7141 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001197/0.7185, allocations: 343.2 kB / 0.7144 GB, free: 3.746 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.001863/0.7204, allocations: 0.6299 MB / 0.715 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.721, allocations: 343.4 kB / 0.7154 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.721, allocations: 0 / 0.7154 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.7212, allocations: 47.86 kB / 0.7154 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.7217, allocations: 68.06 kB / 0.7155 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3196/1.041, allocations: 6.887 MB / 0.7222 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/1.042, allocations: 0.787 MB / 0.723 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000554/1.042, allocations: 236.3 kB / 0.7232 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/1.042, allocations: 50.58 kB / 0.7233 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.042, allocations: 3.938 kB / 0.7233 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01548/1.058, allocations: 9.293 MB / 0.7323 GB, free: 176.1 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