Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001334/0.001335, allocations: 101.4 kB / 16.4 MB, free: 6.457 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.001276/0.001276, allocations: 188.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.54 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1162, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4055/0.5217, allocations: 151.7 MB / 0.6356 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007304/0.5291, allocations: 6.231 MB / 0.6417 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.5292, allocations: 3.938 kB / 0.6417 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.5296, allocations: 79.55 kB / 0.6417 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.5356, allocations: 2.451 MB / 0.6441 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.536, allocations: 143.8 kB / 0.6443 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.5368, allocations: 0.5178 MB / 0.6448 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.5369, allocations: 20.25 kB / 0.6448 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.5373, allocations: 246.6 kB / 0.645 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.5381, allocations: 466.6 kB / 0.6455 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.5382, allocations: 16 kB / 0.6455 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/0.544, allocations: 2.981 MB / 0.6484 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.5442, allocations: 167.5 kB / 0.6486 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.5445, allocations: 211.1 kB / 0.6488 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.5481, allocations: 2.018 MB / 0.6507 GB, free: 3.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5481, allocations: 8 kB / 0.6507 GB, free: 3.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5481, allocations: 0 / 0.6507 GB, free: 3.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5481, allocations: 0 / 0.6507 GB, free: 3.715 MB / 494.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.002135/0.5503, allocations: 0.9302 MB / 0.6516 GB, free: 2.734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5503, allocations: 15.89 kB / 0.6517 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.5504, allocations: 86.7 kB / 0.6517 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.5539, allocations: 498.1 kB / 0.6522 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.5545, allocations: 367.8 kB / 0.6526 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5547, allocations: 131.8 kB / 0.6527 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.5548, allocations: 32 kB / 0.6527 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.5564, allocations: 1.109 MB / 0.6538 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5564, allocations: 0 / 0.6538 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.5565, allocations: 23.97 kB / 0.6538 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/0.5566, allocations: 58.41 kB / 0.6539 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.5599, allocations: 2.272 MB / 0.6561 GB, free: 14.06 MB / 0.4981 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.003443/0.5633, allocations: 2.468 MB / 0.6585 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.5636, allocations: 134.7 kB / 0.6586 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.5637, allocations: 64.84 kB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003992/0.5677, allocations: 3.352 MB / 0.662 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.5678, allocations: 38.56 kB / 0.662 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.5678, allocations: 0 / 0.662 GB, free: 7.32 MB / 0.4981 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=22): time 0.001124/0.5689, allocations: 365.3 kB / 0.6624 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.569, allocations: 55.41 kB / 0.6624 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.5693, allocations: 344.3 kB / 0.6627 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.5693, allocations: 33.7 kB / 0.6628 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.5696, allocations: 350.9 kB / 0.6631 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.5697, allocations: 99.23 kB / 0.6632 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.5698, allocations: 162.5 kB / 0.6634 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.57, allocations: 342.8 kB / 0.6637 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.5702, allocations: 121.9 kB / 0.6638 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.5708, allocations: 0.5647 MB / 0.6644 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.5716, allocations: 0.7579 MB / 0.6651 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5716, allocations: 4 kB / 0.6651 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001295/0.5729, allocations: 0.7431 MB / 0.6658 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.573, allocations: 12 kB / 0.6658 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.573, allocations: 16.88 kB / 0.6659 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.573, allocations: 23.94 kB / 0.6659 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.5735, allocations: 191.7 kB / 0.6661 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004238/0.574, allocations: 0.6141 MB / 0.6667 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.5744, allocations: 91.36 kB / 0.6667 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.5744, allocations: 56 kB / 0.6668 GB, free: 1.898 MB / 0.4981 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.0002276/0.5747, allocations: 221.1 kB / 0.667 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.575, allocations: 87.83 kB / 0.6671 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.5755, allocations: 274.7 kB / 0.6674 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5756, allocations: 4 kB / 0.6674 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5756, allocations: 0 / 0.6674 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5756, allocations: 0 / 0.6674 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.5765, allocations: 0.7437 MB / 0.6681 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5766, allocations: 96 / 0.6681 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.5767, allocations: 43.86 kB / 0.6681 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5767, allocations: 4 kB / 0.6681 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.5768, allocations: 23.86 kB / 0.6682 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003596/0.5771, allocations: 0.5836 MB / 0.6687 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.5772, allocations: 8.031 kB / 0.6687 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.5775, allocations: 309.7 kB / 0.669 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5776, allocations: 120.8 kB / 0.6691 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.5777, allocations: 15.94 kB / 0.6692 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5779, allocations: 4 kB / 0.6692 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.578, allocations: 23.92 kB / 0.6692 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.578, allocations: 15.98 kB / 0.6692 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002277/0.5783, allocations: 227 kB / 0.6694 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5783, allocations: 0 / 0.6694 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001266/0.5795, allocations: 399.1 kB / 0.6698 GB, free: 14.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.002446/0.582, allocations: 1.495 MB / 0.6713 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006609/0.5827, allocations: 355 kB / 0.6716 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5827, allocations: 0 / 0.6716 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.5828, allocations: 67.84 kB / 0.6717 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.5835, allocations: 88.33 kB / 0.6717 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.5959, allocations: 8.818 MB / 0.6804 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.5964, allocations: 0.7957 MB / 0.6811 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004612/0.5969, allocations: 159.3 kB / 0.6813 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.5971, allocations: 107.4 kB / 0.6814 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of SimCode: time 1.233e-06/0.5971, allocations: 3.938 kB / 0.6814 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/0.6395, allocations: 14.86 MB / 0.6959 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.75, allocations: 0 / 0.6959 GB, free: 3.215 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches