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.001309/0.001309, allocations: 108.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 201.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.4 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 72.19 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1603, allocations: 62.44 MB / 479.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4492/0.6096, allocations: 151.2 MB / 0.6159 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008146/0.6178, allocations: 6.792 MB / 0.6225 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.6181, allocations: 0 / 0.6225 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.6187, allocations: 79.67 kB / 0.6226 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007226/0.626, allocations: 2.065 MB / 0.6246 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.6264, allocations: 140.4 kB / 0.6248 GB, free: 3.465 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.6273, allocations: 0.5178 MB / 0.6253 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.6274, allocations: 16.3 kB / 0.6253 GB, free: 2.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.6281, allocations: 271 kB / 0.6255 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.6291, allocations: 0.5027 MB / 0.626 GB, free: 2.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.6292, allocations: 12 kB / 0.626 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006706/0.6359, allocations: 3.274 MB / 0.6292 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.6362, allocations: 163.5 kB / 0.6294 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.6366, allocations: 215 kB / 0.6296 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.6422, allocations: 2.144 MB / 0.6317 GB, free: 12.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6423, allocations: 3.938 kB / 0.6317 GB, free: 12.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6423, allocations: 0 / 0.6317 GB, free: 12.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.6423, allocations: 0 / 0.6317 GB, free: 12.34 MB / 478.1 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.003292/0.6456, allocations: 0.9676 MB / 0.6326 GB, free: 11.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6457, allocations: 8.031 kB / 0.6327 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.6578, allocations: 1.28 MB / 0.6339 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6589, allocations: 371.8 kB / 0.6343 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.6591, allocations: 135.3 kB / 0.6344 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003588/0.6595, allocations: 39.98 kB / 0.6344 GB, free: 9.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/0.6629, allocations: 1.429 MB / 0.6358 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6629, allocations: 4 kB / 0.6358 GB, free: 7.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.6631, allocations: 15.98 kB / 0.6358 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/0.6632, allocations: 52.97 kB / 0.6359 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00624/0.6694, allocations: 2.623 MB / 0.6385 GB, free: 5.277 MB / 478.1 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.006161/0.6756, allocations: 3.845 MB / 0.6422 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.6759, allocations: 86.58 kB / 0.6423 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.676, allocations: 44.92 kB / 0.6423 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00556/0.6816, allocations: 3.269 MB / 0.6455 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6817, allocations: 30.56 kB / 0.6456 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.554e-06/0.6817, allocations: 0 / 0.6456 GB, free: 13.02 MB / 494.1 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.001343/0.683, allocations: 353.2 kB / 0.6459 GB, free: 12.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.6831, allocations: 55.34 kB / 0.6459 GB, free: 12.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.6836, allocations: 389.2 kB / 0.6463 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.6837, allocations: 33.64 kB / 0.6463 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.684, allocations: 380.9 kB / 0.6467 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.6841, allocations: 51.44 kB / 0.6468 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.6843, allocations: 166.4 kB / 0.6469 GB, free: 11.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6846, allocations: 342.8 kB / 0.6472 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.6848, allocations: 117.9 kB / 0.6474 GB, free: 11.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.6858, allocations: 0.5781 MB / 0.6479 GB, free: 10.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.6868, allocations: 0.7509 MB / 0.6487 GB, free: 9.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.6868, allocations: 8 kB / 0.6487 GB, free: 9.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001295/0.6881, allocations: 0.6809 MB / 0.6493 GB, free: 8.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.6882, allocations: 12 kB / 0.6493 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.6882, allocations: 16 kB / 0.6494 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.6882, allocations: 24 kB / 0.6494 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.6888, allocations: 187.7 kB / 0.6496 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005461/0.6894, allocations: 0.6255 MB / 0.6502 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.6899, allocations: 94.97 kB / 0.6503 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.69, allocations: 64 kB / 0.6503 GB, free: 7.609 MB / 494.1 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 (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.0002498/0.6903, allocations: 205.4 kB / 0.6505 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.6904, allocations: 51.42 kB / 0.6506 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.6908, allocations: 175 kB / 0.6507 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6908, allocations: 0 / 0.6507 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.6908, allocations: 0 / 0.6507 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6908, allocations: 0 / 0.6507 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.6915, allocations: 487.9 kB / 0.6512 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6915, allocations: 0 / 0.6512 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.6916, allocations: 23.98 kB / 0.6512 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.6917, allocations: 0 / 0.6512 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6917, allocations: 0 / 0.6512 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003308/0.692, allocations: 0.5939 MB / 0.6518 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.692, allocations: 3.938 kB / 0.6518 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.6923, allocations: 212.8 kB / 0.652 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.6925, allocations: 116.7 kB / 0.6521 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.6926, allocations: 4 kB / 0.6521 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.6928, allocations: 15.98 kB / 0.6521 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.6929, allocations: 11.98 kB / 0.6521 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.6929, allocations: 4 kB / 0.6521 GB, free: 5.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002805/0.6932, allocations: 247.2 kB / 0.6524 GB, free: 5.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6932, allocations: 0 / 0.6524 GB, free: 5.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001297/0.6945, allocations: 343.8 kB / 0.6527 GB, free: 5.004 MB / 494.1 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 (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.002073/0.6966, allocations: 0.6475 MB / 0.6533 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.6972, allocations: 342.9 kB / 0.6537 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6973, allocations: 0 / 0.6537 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.6974, allocations: 40.66 kB / 0.6537 GB, free: 3.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.6978, allocations: 53.03 kB / 0.6538 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/0.7069, allocations: 6.146 MB / 0.6598 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.7073, allocations: 0.7859 MB / 0.6605 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007832/0.7081, allocations: 257.3 kB / 0.6608 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.7082, allocations: 51.42 kB / 0.6608 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.7082, allocations: 0 / 0.6608 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.01556/0.7238, allocations: 8.935 MB / 0.6696 GB, free: 3.738 MB / 0.4981 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