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.001544/0.001544, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3596, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1682/0.5279, allocations: 152.6 MB / 0.6795 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.5307, allocations: 2.2 MB / 0.6816 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.5308, allocations: 7.938 kB / 0.6816 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.5312, allocations: 55.66 kB / 0.6817 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.5328, allocations: 0.6338 MB / 0.6823 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.5332, allocations: 107.2 kB / 0.6824 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.5335, allocations: 259.1 kB / 0.6827 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.5336, allocations: 11.92 kB / 0.6827 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.5339, allocations: 147.2 kB / 0.6828 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.5341, allocations: 87.72 kB / 0.6829 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.5341, allocations: 8 kB / 0.6829 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.5357, allocations: 0.8573 MB / 0.6837 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.5358, allocations: 87.75 kB / 0.6838 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.5359, allocations: 103.6 kB / 0.6839 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.537, allocations: 0.6504 MB / 0.6846 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.537, allocations: 8 kB / 0.6846 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.537, allocations: 0 / 0.6846 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.537, allocations: 0 / 0.6846 GB, free: 3.426 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.0008632/0.5379, allocations: 0.5025 MB / 0.6851 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5379, allocations: 16.03 kB / 0.6851 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.538, allocations: 50.73 kB / 0.6851 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.54, allocations: 280.5 kB / 0.6854 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.5404, allocations: 279.6 kB / 0.6857 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5404, allocations: 12.31 kB / 0.6857 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.5405, allocations: 20 kB / 0.6857 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.5412, allocations: 0.49 MB / 0.6862 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5413, allocations: 7.984 kB / 0.6862 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.5413, allocations: 11.94 kB / 0.6862 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.5413, allocations: 8 kB / 0.6862 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.5422, allocations: 0.5817 MB / 0.6868 GB, free: 1.074 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.002191/0.5444, allocations: 1.011 MB / 0.6878 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.5448, allocations: 245.1 kB / 0.688 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.5451, allocations: 183.9 kB / 0.6882 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008991/0.546, allocations: 383.2 kB / 0.6885 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.546, allocations: 34.56 kB / 0.6886 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.546, allocations: 0 / 0.6886 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001837/0.5479, allocations: 0.5993 MB / 0.6891 GB, free: 14.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5479, allocations: 85.05 kB / 0.6892 GB, free: 14.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.548, allocations: 129.8 kB / 0.6894 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5481, allocations: 29.7 kB / 0.6894 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.5482, allocations: 116.5 kB / 0.6895 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.5483, allocations: 111.1 kB / 0.6896 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.5484, allocations: 69.47 kB / 0.6897 GB, free: 13.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5485, allocations: 330.8 kB / 0.69 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.5489, allocations: 187.9 kB / 0.6902 GB, free: 13.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.5493, allocations: 288.5 kB / 0.6904 GB, free: 13.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.55, allocations: 491.3 kB / 0.6909 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.55, allocations: 3.938 kB / 0.6909 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009269/0.5509, allocations: 0.5166 MB / 0.6914 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.551, allocations: 13.97 kB / 0.6914 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.551, allocations: 4.391 kB / 0.6914 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.551, allocations: 4.406 kB / 0.6914 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.5515, allocations: 83.89 kB / 0.6915 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5515, allocations: 8 kB / 0.6915 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.5519, allocations: 35.77 kB / 0.6916 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.552, allocations: 19.98 kB / 0.6916 GB, free: 11.86 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.0001521/0.5521, allocations: 149.6 kB / 0.6917 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5522, allocations: 15.91 kB / 0.6917 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.5531, allocations: 0.4931 MB / 0.6922 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5532, allocations: 4 kB / 0.6922 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5532, allocations: 0 / 0.6922 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5532, allocations: 4 kB / 0.6922 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.5539, allocations: 465.7 kB / 0.6927 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5539, allocations: 0 / 0.6927 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.5544, allocations: 63.89 kB / 0.6927 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5544, allocations: 4 kB / 0.6927 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.5544, allocations: 11.98 kB / 0.6927 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5544, allocations: 0 / 0.6927 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5545, allocations: 4 kB / 0.6927 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5555, allocations: 0.6888 MB / 0.6934 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.5556, allocations: 96.95 kB / 0.6935 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.5556, allocations: 8 kB / 0.6935 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.5561, allocations: 19.97 kB / 0.6935 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.5562, allocations: 19.91 kB / 0.6936 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.5562, allocations: 23.92 kB / 0.6936 GB, free: 9.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.5563, allocations: 99.27 kB / 0.6937 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5563, allocations: 0 / 0.6937 GB, free: 9.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006935/0.557, allocations: 171.6 kB / 0.6938 GB, free: 9.438 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.002148/0.5591, allocations: 1.461 MB / 0.6953 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.5599, allocations: 443.5 kB / 0.6957 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.56, allocations: 0 / 0.6957 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.5603, allocations: 213.1 kB / 0.6959 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.561, allocations: 99.91 kB / 0.696 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5653, allocations: 3.224 MB / 0.6991 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.5656, allocations: 0.7478 MB / 0.6999 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004362/0.5661, allocations: 109.8 kB / 0.7 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5663, allocations: 63.41 kB / 0.7 GB, free: 2.871 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.5663, allocations: 4 kB / 0.7 GB, free: 2.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.6097, allocations: 10.34 MB / 0.7101 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.257, allocations: 6.625 kB / 0.7101 GB, free: 8.629 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