Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",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.001178/0.001178, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001317/0.001317, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.216/0.216, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1836/0.569, allocations: 149.7 MB / 0.6646 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.5719, allocations: 2.196 MB / 0.6667 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.572, allocations: 4 kB / 0.6668 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.5725, allocations: 55.66 kB / 0.6668 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.5749, allocations: 0.6261 MB / 0.6674 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.5754, allocations: 107.7 kB / 0.6675 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.5759, allocations: 259 kB / 0.6678 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.576, allocations: 8 kB / 0.6678 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.5764, allocations: 139.2 kB / 0.6679 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.5766, allocations: 87.66 kB / 0.668 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.5767, allocations: 8 kB / 0.668 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.5786, allocations: 0.8534 MB / 0.6688 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.5787, allocations: 83.83 kB / 0.6689 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.5789, allocations: 107.5 kB / 0.669 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.5802, allocations: 0.6544 MB / 0.6697 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5803, allocations: 0 / 0.6697 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5803, allocations: 0 / 0.6697 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.5803, allocations: 0 / 0.6697 GB, free: 0.6836 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00117/0.5815, allocations: 0.4987 MB / 0.6701 GB, free: 140 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.5815, allocations: 16.03 kB / 0.6702 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.466e-05/0.5816, allocations: 54.72 kB / 0.6702 GB, free: 60 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.5839, allocations: 280.5 kB / 0.6705 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.5844, allocations: 279.7 kB / 0.6707 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5844, allocations: 12.27 kB / 0.6708 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/0.5845, allocations: 20 kB / 0.6708 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.5853, allocations: 0.4889 MB / 0.6712 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5853, allocations: 0 / 0.6712 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.5854, allocations: 11.98 kB / 0.6713 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5854, allocations: 11.98 kB / 0.6713 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.5863, allocations: 0.5852 MB / 0.6718 GB, free: 14.34 MB / 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.00235/0.5886, allocations: 1.008 MB / 0.6728 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.589, allocations: 245.1 kB / 0.6731 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.5893, allocations: 185.5 kB / 0.6732 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009688/0.5903, allocations: 383.2 kB / 0.6736 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5903, allocations: 38.56 kB / 0.6736 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.5903, allocations: 0 / 0.6736 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001985/0.5923, allocations: 0.5938 MB / 0.6742 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.5924, allocations: 81.11 kB / 0.6743 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.5925, allocations: 141.7 kB / 0.6744 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.5926, allocations: 29.7 kB / 0.6745 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.5927, allocations: 108.6 kB / 0.6746 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5928, allocations: 115 kB / 0.6747 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5929, allocations: 65.69 kB / 0.6747 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5931, allocations: 330.8 kB / 0.6751 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.5934, allocations: 187.9 kB / 0.6752 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.5938, allocations: 289.5 kB / 0.6755 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.5945, allocations: 492.5 kB / 0.676 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5945, allocations: 0 / 0.676 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009839/0.5955, allocations: 0.5185 MB / 0.6765 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5956, allocations: 8 kB / 0.6765 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5956, allocations: 4 kB / 0.6765 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5956, allocations: 4.406 kB / 0.6765 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.5962, allocations: 83.89 kB / 0.6766 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.5962, allocations: 11.94 kB / 0.6766 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.5966, allocations: 35.77 kB / 0.6766 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.5967, allocations: 19.98 kB / 0.6766 GB, free: 9.121 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.5968, allocations: 149.7 kB / 0.6768 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.597, allocations: 11.95 kB / 0.6768 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009154/0.5979, allocations: 490.5 kB / 0.6773 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.5979, allocations: 8 kB / 0.6773 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5979, allocations: 4 kB / 0.6773 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5979, allocations: 0 / 0.6773 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007548/0.5987, allocations: 477.8 kB / 0.6777 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5987, allocations: 3.938 kB / 0.6777 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.5992, allocations: 59.89 kB / 0.6778 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5992, allocations: 0 / 0.6778 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.5993, allocations: 11.98 kB / 0.6778 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5993, allocations: 0 / 0.6778 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5993, allocations: 4 kB / 0.6778 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.6004, allocations: 0.6918 MB / 0.6785 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.6005, allocations: 96.95 kB / 0.6786 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.6005, allocations: 8 kB / 0.6786 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.601, allocations: 19.97 kB / 0.6786 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.6011, allocations: 19.97 kB / 0.6786 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.6011, allocations: 23.98 kB / 0.6786 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.6012, allocations: 95.27 kB / 0.6787 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6012, allocations: 0 / 0.6787 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007004/0.6019, allocations: 163.6 kB / 0.6789 GB, free: 6.715 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/0.604, allocations: 1.472 MB / 0.6803 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.6048, allocations: 439.6 kB / 0.6807 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6049, allocations: 0 / 0.6807 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.6052, allocations: 216.6 kB / 0.681 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.6059, allocations: 104.5 kB / 0.6811 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.6101, allocations: 3.219 MB / 0.6842 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6104, allocations: 0.7362 MB / 0.6849 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004791/0.6109, allocations: 113.8 kB / 0.685 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.6111, allocations: 63.41 kB / 0.6851 GB, free: 148 kB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.6111, allocations: 0 / 0.6851 GB, free: 148 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.6424, allocations: 10.34 MB / 0.6952 GB, free: 5.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.423, allocations: 3.625 kB / 0.6952 GB, free: 5.91 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches