Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.83 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.322/0.4243, allocations: 150.4 MB / 0.6053 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.4307, allocations: 6.825 MB / 0.6119 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.4309, allocations: 7.938 kB / 0.6119 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.4312, allocations: 75.55 kB / 0.612 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.4356, allocations: 2.197 MB / 0.6141 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.4359, allocations: 144.8 kB / 0.6143 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.4364, allocations: 0.51 MB / 0.6148 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.4365, allocations: 16.31 kB / 0.6148 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.4369, allocations: 247 kB / 0.615 GB, free: 296 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.4376, allocations: 466.6 kB / 0.6155 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.4376, allocations: 12 kB / 0.6155 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.442, allocations: 2.759 MB / 0.6182 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.4421, allocations: 163.5 kB / 0.6183 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4424, allocations: 219 kB / 0.6185 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.4451, allocations: 1.914 MB / 0.6204 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4451, allocations: 0 / 0.6204 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4451, allocations: 0 / 0.6204 GB, free: 10.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4451, allocations: 0 / 0.6204 GB, free: 10.76 MB / 462.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.002172/0.4473, allocations: 0.9645 MB / 0.6214 GB, free: 9.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4474, allocations: 8.031 kB / 0.6214 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.4475, allocations: 90.69 kB / 0.6215 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.4592, allocations: 1.272 MB / 0.6227 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.4598, allocations: 387.5 kB / 0.6231 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.46, allocations: 135.4 kB / 0.6232 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4601, allocations: 28 kB / 0.6232 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.4624, allocations: 1.437 MB / 0.6246 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4625, allocations: 0 / 0.6246 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4626, allocations: 20 kB / 0.6246 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.4627, allocations: 48.97 kB / 0.6247 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.4674, allocations: 2.627 MB / 0.6273 GB, free: 3.598 MB / 462.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.00406/0.4715, allocations: 3.852 MB / 0.631 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4717, allocations: 90.52 kB / 0.6311 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.4718, allocations: 37 kB / 0.6311 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/0.4749, allocations: 3.234 MB / 0.6343 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.475, allocations: 38.56 kB / 0.6343 GB, free: 11.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.475, allocations: 0 / 0.6343 GB, free: 11.36 MB / 478.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.001099/0.4761, allocations: 348.8 kB / 0.6347 GB, free: 11.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4761, allocations: 55.34 kB / 0.6347 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.4764, allocations: 393.2 kB / 0.6351 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4765, allocations: 25.7 kB / 0.6351 GB, free: 10.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.4767, allocations: 377 kB / 0.6355 GB, free: 10.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4767, allocations: 51.44 kB / 0.6355 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.4769, allocations: 174.4 kB / 0.6357 GB, free: 9.922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.477, allocations: 338.8 kB / 0.636 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.4771, allocations: 117.9 kB / 0.6361 GB, free: 9.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.4775, allocations: 0.5742 MB / 0.6367 GB, free: 8.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.4782, allocations: 0.7507 MB / 0.6374 GB, free: 7.691 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4782, allocations: 8 kB / 0.6374 GB, free: 7.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001012/0.4793, allocations: 0.6889 MB / 0.6381 GB, free: 6.988 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4793, allocations: 12 kB / 0.6381 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4793, allocations: 20.88 kB / 0.6381 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.4793, allocations: 20 kB / 0.6382 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.4798, allocations: 187.6 kB / 0.6383 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003212/0.4801, allocations: 0.6214 MB / 0.6389 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.4806, allocations: 90.97 kB / 0.639 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.4806, allocations: 71.92 kB / 0.6391 GB, free: 5.949 MB / 478.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.0001822/0.4808, allocations: 205.4 kB / 0.6393 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.4809, allocations: 43.5 kB / 0.6393 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.4812, allocations: 175.4 kB / 0.6395 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4813, allocations: 0.5 kB / 0.6395 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4813, allocations: 0 / 0.6395 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4813, allocations: 0 / 0.6395 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.4818, allocations: 480 kB / 0.64 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4818, allocations: 4.938 kB / 0.64 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.4819, allocations: 19.98 kB / 0.64 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4819, allocations: 4 kB / 0.64 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4819, allocations: 4 kB / 0.64 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002404/0.4822, allocations: 0.5938 MB / 0.6406 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4822, allocations: 0.9375 kB / 0.6406 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.4824, allocations: 220.9 kB / 0.6408 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4825, allocations: 112.7 kB / 0.6409 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.4826, allocations: 7.938 kB / 0.6409 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.4828, allocations: 11.98 kB / 0.6409 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.4828, allocations: 4 kB / 0.6409 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4828, allocations: 11.98 kB / 0.6409 GB, free: 3.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.4831, allocations: 251.2 kB / 0.6412 GB, free: 3.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4831, allocations: 0 / 0.6412 GB, free: 3.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4841, allocations: 347.8 kB / 0.6415 GB, free: 3.34 MB / 478.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.001986/0.4861, allocations: 1.297 MB / 0.6428 GB, free: 2.016 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.4867, allocations: 331.7 kB / 0.6431 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4867, allocations: 4.062 kB / 0.6431 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.4868, allocations: 35.92 kB / 0.6431 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.4872, allocations: 46.5 kB / 0.6432 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.4959, allocations: 7.974 MB / 0.6509 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4962, allocations: 0.784 MB / 0.6517 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006965/0.4969, allocations: 251.3 kB / 0.6519 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.4971, allocations: 119.4 kB / 0.6521 GB, free: 7.926 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4971, allocations: 0 / 0.6521 GB, free: 7.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4941/0.9912, allocations: 12.53 MB / 0.6643 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.26, allocations: 4.781 kB / 0.6643 GB, free: 11.53 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches