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.001195/0.001195, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001131/0.001131, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2197/0.2197, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1554/0.4883, allocations: 150.4 MB / 0.6653 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00679/0.4951, allocations: 6.825 MB / 0.672 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4953, allocations: 4 kB / 0.672 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.4956, allocations: 79.44 kB / 0.6721 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.5007, allocations: 2.212 MB / 0.6742 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.501, allocations: 143.5 kB / 0.6744 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.5016, allocations: 0.5139 MB / 0.6749 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.5016, allocations: 20.28 kB / 0.6749 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.502, allocations: 240.1 kB / 0.6751 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.5027, allocations: 466.5 kB / 0.6756 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.5027, allocations: 12 kB / 0.6756 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.5076, allocations: 2.634 MB / 0.6782 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.5079, allocations: 171.4 kB / 0.6783 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.5081, allocations: 211 kB / 0.6785 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.5112, allocations: 1.847 MB / 0.6803 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5112, allocations: 0 / 0.6803 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.907e-06/0.5112, allocations: 0 / 0.6803 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5112, allocations: 7.938 kB / 0.6803 GB, free: 5.723 MB / 0.5294 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.002265/0.5135, allocations: 0.9916 MB / 0.6813 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5135, allocations: 8.031 kB / 0.6813 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.267e-05/0.5136, allocations: 90.7 kB / 0.6814 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.5174, allocations: 0.4922 MB / 0.6819 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.5183, allocations: 387.3 kB / 0.6822 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.5185, allocations: 127.5 kB / 0.6824 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5186, allocations: 28 kB / 0.6824 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.5204, allocations: 1.105 MB / 0.6835 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.5205, allocations: 0 / 0.6835 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5206, allocations: 20 kB / 0.6835 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/0.5207, allocations: 52.97 kB / 0.6835 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.5237, allocations: 2.268 MB / 0.6858 GB, free: 16 kB / 0.5294 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.003929/0.5277, allocations: 2.632 MB / 0.6883 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.528, allocations: 102.5 kB / 0.6884 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.5281, allocations: 53.08 kB / 0.6885 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/0.5318, allocations: 3.265 MB / 0.6917 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5318, allocations: 38.56 kB / 0.6917 GB, free: 9.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.5318, allocations: 0 / 0.6917 GB, free: 9.223 MB / 0.545 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.001049/0.5329, allocations: 307.9 kB / 0.692 GB, free: 8.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.5329, allocations: 51.41 kB / 0.692 GB, free: 8.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.5333, allocations: 380.2 kB / 0.6924 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5333, allocations: 25.7 kB / 0.6924 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.5335, allocations: 378.7 kB / 0.6928 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.5336, allocations: 67.52 kB / 0.6929 GB, free: 8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.5338, allocations: 170.5 kB / 0.693 GB, free: 7.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5339, allocations: 342.8 kB / 0.6933 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.5341, allocations: 125.9 kB / 0.6935 GB, free: 7.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.5346, allocations: 0.5686 MB / 0.694 GB, free: 6.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.5353, allocations: 0.7414 MB / 0.6947 GB, free: 5.605 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.5353, allocations: 7.938 kB / 0.6948 GB, free: 5.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001268/0.5366, allocations: 0.7433 MB / 0.6955 GB, free: 4.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5366, allocations: 12 kB / 0.6955 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5367, allocations: 16 kB / 0.6955 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.5367, allocations: 23.98 kB / 0.6955 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.5372, allocations: 184.4 kB / 0.6957 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003456/0.5375, allocations: 0.6249 MB / 0.6963 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.538, allocations: 91.3 kB / 0.6964 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.538, allocations: 56 kB / 0.6965 GB, free: 3.824 MB / 0.545 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.0001929/0.5382, allocations: 209.4 kB / 0.6967 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.5386, allocations: 95.72 kB / 0.6967 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.539, allocations: 203 kB / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.539, allocations: 0 / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.539, allocations: 0 / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.539, allocations: 0 / 0.6969 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.5396, allocations: 0.55 MB / 0.6975 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5397, allocations: 0 / 0.6975 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.5398, allocations: 31.98 kB / 0.6975 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5398, allocations: 4 kB / 0.6975 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5398, allocations: 8.188 kB / 0.6975 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002672/0.5401, allocations: 0.5898 MB / 0.6981 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5401, allocations: 3.984 kB / 0.6981 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5404, allocations: 264.5 kB / 0.6984 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5405, allocations: 104.9 kB / 0.6985 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.5405, allocations: 11.94 kB / 0.6985 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.5408, allocations: 11.98 kB / 0.6985 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.5408, allocations: 12 kB / 0.6985 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5408, allocations: 11.98 kB / 0.6985 GB, free: 1.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002183/0.5411, allocations: 243.2 kB / 0.6987 GB, free: 1.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5411, allocations: 0 / 0.6987 GB, free: 1.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001099/0.5422, allocations: 347.2 kB / 0.6991 GB, free: 0.9844 MB / 0.545 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.002002/0.5442, allocations: 1.333 MB / 0.7004 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006217/0.5448, allocations: 347.5 kB / 0.7007 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5448, allocations: 4.062 kB / 0.7007 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.545, allocations: 51.83 kB / 0.7007 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.5455, allocations: 57.39 kB / 0.7008 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.5564, allocations: 8.743 MB / 0.7093 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5568, allocations: 0.7879 MB / 0.7101 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005484/0.5573, allocations: 239.2 kB / 0.7103 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5575, allocations: 111.4 kB / 0.7104 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.5575, allocations: 4 kB / 0.7104 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.258/0.8155, allocations: 12.95 MB / 0.7231 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.64, allocations: 11.28 kB / 0.7231 GB, free: 184.6 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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