Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 71.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.388, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1639/0.5519, allocations: 152.6 MB / 0.6795 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.5545, allocations: 2.192 MB / 0.6816 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.5546, allocations: 0 / 0.6816 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.5549, allocations: 63.59 kB / 0.6817 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.5564, allocations: 0.63 MB / 0.6823 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.5568, allocations: 110.8 kB / 0.6824 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.5571, allocations: 259.1 kB / 0.6827 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.5572, allocations: 11.98 kB / 0.6827 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.5574, allocations: 147.2 kB / 0.6828 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.5576, allocations: 91.7 kB / 0.6829 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.5577, allocations: 8 kB / 0.6829 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.5591, allocations: 0.8534 MB / 0.6838 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.5592, allocations: 91.7 kB / 0.6838 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.5593, allocations: 91.66 kB / 0.6839 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009786/0.5603, allocations: 0.6583 MB / 0.6846 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5603, allocations: 0 / 0.6846 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5603, allocations: 3.938 kB / 0.6846 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5604, allocations: 0 / 0.6846 GB, free: 3.453 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007853/0.5612, allocations: 0.5103 MB / 0.6851 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5612, allocations: 8.031 kB / 0.6851 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.5613, allocations: 58.72 kB / 0.6851 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.5633, allocations: 276.5 kB / 0.6854 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.5638, allocations: 283.6 kB / 0.6857 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5638, allocations: 12.33 kB / 0.6857 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/0.5639, allocations: 20 kB / 0.6857 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.5646, allocations: 0.4939 MB / 0.6862 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5647, allocations: 0 / 0.6862 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.5647, allocations: 4 kB / 0.6862 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.5648, allocations: 12 kB / 0.6862 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.5656, allocations: 0.5777 MB / 0.6868 GB, free: 1.105 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.002252/0.5679, allocations: 1.019 MB / 0.6878 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.5683, allocations: 233.1 kB / 0.688 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.5685, allocations: 185.7 kB / 0.6882 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009194/0.5695, allocations: 379.2 kB / 0.6885 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.5695, allocations: 46.55 kB / 0.6886 GB, free: 15.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.5695, allocations: 0 / 0.6886 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001963/0.5715, allocations: 0.5954 MB / 0.6891 GB, free: 14.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.5716, allocations: 81.11 kB / 0.6892 GB, free: 14.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5717, allocations: 125.8 kB / 0.6893 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.5718, allocations: 33.64 kB / 0.6894 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.5719, allocations: 128.5 kB / 0.6895 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.572, allocations: 107.1 kB / 0.6896 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.5721, allocations: 69.48 kB / 0.6897 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5723, allocations: 334.8 kB / 0.69 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.5726, allocations: 175.9 kB / 0.6902 GB, free: 13.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.573, allocations: 296.5 kB / 0.6904 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.5738, allocations: 491.3 kB / 0.6909 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5738, allocations: 0 / 0.6909 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009312/0.5747, allocations: 0.5208 MB / 0.6914 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5748, allocations: 8.062 kB / 0.6914 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5748, allocations: 7.938 kB / 0.6914 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.5748, allocations: 8 kB / 0.6914 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.5754, allocations: 83.83 kB / 0.6915 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5754, allocations: 7.984 kB / 0.6915 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.5758, allocations: 35.77 kB / 0.6916 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.5758, allocations: 16 kB / 0.6916 GB, free: 11.88 MB / 0.545 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.0001618/0.576, allocations: 149.6 kB / 0.6917 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5761, allocations: 19.91 kB / 0.6917 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009447/0.5771, allocations: 497.4 kB / 0.6922 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.5771, allocations: 4 kB / 0.6922 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5771, allocations: 0 / 0.6922 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5771, allocations: 3.984 kB / 0.6922 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.5779, allocations: 465.7 kB / 0.6927 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5779, allocations: 0 / 0.6927 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.5784, allocations: 59.91 kB / 0.6927 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5784, allocations: 0 / 0.6927 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.5785, allocations: 11.98 kB / 0.6927 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5785, allocations: 4 kB / 0.6927 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5785, allocations: 4 kB / 0.6927 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.5796, allocations: 0.6888 MB / 0.6934 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.5797, allocations: 92.95 kB / 0.6935 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.5797, allocations: 11.98 kB / 0.6935 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.5802, allocations: 19.98 kB / 0.6935 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5803, allocations: 19.97 kB / 0.6935 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.5803, allocations: 19.98 kB / 0.6936 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.5804, allocations: 107.1 kB / 0.6937 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5804, allocations: 0 / 0.6937 GB, free: 9.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006862/0.5811, allocations: 171.6 kB / 0.6938 GB, free: 9.465 MB / 0.545 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.00239/0.5835, allocations: 1.465 MB / 0.6953 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.5844, allocations: 440.2 kB / 0.6957 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5844, allocations: 4.125 kB / 0.6957 GB, free: 7.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.5848, allocations: 211.8 kB / 0.6959 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.5856, allocations: 88.48 kB / 0.696 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.5898, allocations: 3.231 MB / 0.6991 GB, free: 3.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5902, allocations: 0.7439 MB / 0.6999 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000474/0.5906, allocations: 109.8 kB / 0.7 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.5908, allocations: 63.41 kB / 0.7 GB, free: 2.902 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.5908, allocations: 0 / 0.7 GB, free: 2.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.6199, allocations: 10.34 MB / 0.7101 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.352, allocations: 16.23 kB / 0.7101 GB, free: 8.652 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches