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.001384/0.001384, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001251/0.001251, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2263/0.2263, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001846, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3446, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.194/0.5386, allocations: 150.4 MB / 0.6653 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008868/0.5475, allocations: 6.829 MB / 0.672 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.5479, allocations: 4 kB / 0.672 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.5484, allocations: 83.42 kB / 0.6721 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.5551, allocations: 2.19 MB / 0.6742 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.5555, allocations: 143.4 kB / 0.6744 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.5564, allocations: 0.5139 MB / 0.6749 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.5565, allocations: 24.31 kB / 0.6749 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.557, allocations: 235.1 kB / 0.6751 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008729/0.5578, allocations: 470.5 kB / 0.6756 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.5579, allocations: 12 kB / 0.6756 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006892/0.5648, allocations: 2.622 MB / 0.6781 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.5651, allocations: 171.4 kB / 0.6783 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.5655, allocations: 211.1 kB / 0.6785 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004924/0.5704, allocations: 1.847 MB / 0.6803 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5705, allocations: 0 / 0.6803 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.359e-06/0.5705, allocations: 4 kB / 0.6803 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.5705, allocations: 7.938 kB / 0.6803 GB, free: 5.781 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.002863/0.5734, allocations: 0.9851 MB / 0.6813 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5734, allocations: 8.031 kB / 0.6813 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.5736, allocations: 90.69 kB / 0.6814 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/0.5774, allocations: 0.4962 MB / 0.6819 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.5782, allocations: 375.3 kB / 0.6822 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.5783, allocations: 131.5 kB / 0.6823 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.5785, allocations: 32 kB / 0.6824 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.5803, allocations: 1.105 MB / 0.6834 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5803, allocations: 4 kB / 0.6835 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5805, allocations: 16 kB / 0.6835 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.698e-05/0.5805, allocations: 56.97 kB / 0.6835 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.5841, allocations: 2.268 MB / 0.6857 GB, free: 76 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.004382/0.5885, allocations: 2.636 MB / 0.6883 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5888, allocations: 98.5 kB / 0.6884 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.5889, allocations: 49.09 kB / 0.6885 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004322/0.5932, allocations: 3.265 MB / 0.6916 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.5933, allocations: 42.55 kB / 0.6917 GB, free: 9.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.5933, allocations: 0 / 0.6917 GB, free: 9.281 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.001146/0.5945, allocations: 301.2 kB / 0.692 GB, free: 8.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5945, allocations: 51.41 kB / 0.692 GB, free: 8.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.595, allocations: 376.2 kB / 0.6924 GB, free: 8.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.595, allocations: 29.7 kB / 0.6924 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.5953, allocations: 374.7 kB / 0.6928 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.5954, allocations: 71.5 kB / 0.6928 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5957, allocations: 166.5 kB / 0.693 GB, free: 7.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5958, allocations: 346.8 kB / 0.6933 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.5961, allocations: 121.9 kB / 0.6934 GB, free: 7.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.5966, allocations: 0.5725 MB / 0.694 GB, free: 6.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000927/0.5976, allocations: 0.7376 MB / 0.6947 GB, free: 5.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.5976, allocations: 4 kB / 0.6947 GB, free: 5.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001636/0.5993, allocations: 0.7471 MB / 0.6954 GB, free: 4.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5993, allocations: 15.94 kB / 0.6955 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.5993, allocations: 16.88 kB / 0.6955 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.222e-05/0.5994, allocations: 20 kB / 0.6955 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.6, allocations: 191.7 kB / 0.6957 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000524/0.6005, allocations: 0.6171 MB / 0.6963 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.601, allocations: 95.3 kB / 0.6964 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.6011, allocations: 55.98 kB / 0.6964 GB, free: 3.887 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.0002826/0.6014, allocations: 205.4 kB / 0.6966 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/0.6018, allocations: 99.72 kB / 0.6967 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.6023, allocations: 207.3 kB / 0.6969 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6023, allocations: 0 / 0.6969 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.6023, allocations: 4 kB / 0.6969 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6023, allocations: 4 kB / 0.6969 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.6031, allocations: 0.5461 MB / 0.6975 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6032, allocations: 4 kB / 0.6975 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6033, allocations: 24.17 kB / 0.6975 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6033, allocations: 8 kB / 0.6975 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6033, allocations: 7.984 kB / 0.6975 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003981/0.6037, allocations: 0.5938 MB / 0.6981 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6037, allocations: 0 / 0.6981 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.6041, allocations: 260.4 kB / 0.6983 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.6042, allocations: 108.9 kB / 0.6984 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.6043, allocations: 7.938 kB / 0.6984 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.6045, allocations: 15.98 kB / 0.6985 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.6046, allocations: 11.98 kB / 0.6985 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.6046, allocations: 8 kB / 0.6985 GB, free: 1.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002901/0.6049, allocations: 243.2 kB / 0.6987 GB, free: 1.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6049, allocations: 0 / 0.6987 GB, free: 1.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001326/0.6062, allocations: 351.2 kB / 0.699 GB, free: 1.039 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.00262/0.6089, allocations: 1.341 MB / 0.7004 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008117/0.6097, allocations: 343.3 kB / 0.7007 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6097, allocations: 0 / 0.7007 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.6098, allocations: 51.86 kB / 0.7007 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.6105, allocations: 62.17 kB / 0.7008 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6242, allocations: 8.737 MB / 0.7093 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.6247, allocations: 0.784 MB / 0.7101 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006139/0.6253, allocations: 239.2 kB / 0.7103 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.6255, allocations: 115.4 kB / 0.7104 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6255, allocations: 0 / 0.7104 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2885/0.914, allocations: 12.95 MB / 0.7231 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.45, allocations: 11.91 kB / 0.7231 GB, free: 184.7 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