Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_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.0011/0.0011, allocations: 100.3 kB / 16.27 MB, free: 5.93 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.001044/0.001044, allocations: 192.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.208/0.208, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 66.05 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4286/0.532, allocations: 151 MB / 0.5777 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.5345, allocations: 2.086 MB / 0.5798 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.5347, allocations: 0 / 0.5798 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.5352, allocations: 55.47 kB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.5368, allocations: 0.6117 MB / 0.5804 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.5371, allocations: 101.7 kB / 0.5805 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.5375, allocations: 265 kB / 0.5808 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.5376, allocations: 9.547 kB / 0.5808 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.5379, allocations: 137.2 kB / 0.5809 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.538, allocations: 87.64 kB / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.5381, allocations: 7.312 kB / 0.581 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5398, allocations: 0.9173 MB / 0.5819 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.5399, allocations: 79.22 kB / 0.582 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.54, allocations: 102.5 kB / 0.5821 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.5412, allocations: 0.6659 MB / 0.5827 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5412, allocations: 2.484 kB / 0.5827 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5412, allocations: 0 / 0.5827 GB, free: 11.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.5413, allocations: 3.312 kB / 0.5827 GB, free: 11.89 MB / 430.1 MB 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.0009573/0.5422, allocations: 498.7 kB / 0.5832 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.5423, allocations: 21.89 kB / 0.5832 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.5424, allocations: 52.66 kB / 0.5833 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/0.5505, allocations: 0.7325 MB / 0.584 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.551, allocations: 280 kB / 0.5842 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.551, allocations: 15.36 kB / 0.5843 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5512, allocations: 27.09 kB / 0.5843 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5526, allocations: 0.7049 MB / 0.585 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.5526, allocations: 0 / 0.585 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/0.5527, allocations: 10.22 kB / 0.585 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.5527, allocations: 7.5 kB / 0.585 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.5547, allocations: 0.9232 MB / 0.5859 GB, free: 10.48 MB / 430.1 MB 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.005109/0.5598, allocations: 2.015 MB / 0.5879 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.5609, allocations: 0.5009 MB / 0.5883 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.5616, allocations: 339.7 kB / 0.5887 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.5624, allocations: 274.1 kB / 0.5889 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.5625, allocations: 40.53 kB / 0.589 GB, free: 8.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.265e-06/0.5625, allocations: 0 / 0.589 GB, free: 8.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002171/0.5646, allocations: 0.8917 MB / 0.5898 GB, free: 8.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.5647, allocations: 81.92 kB / 0.5899 GB, free: 8.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5648, allocations: 132.3 kB / 0.59 GB, free: 8.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.5649, allocations: 31.92 kB / 0.5901 GB, free: 8.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.565, allocations: 113.9 kB / 0.5902 GB, free: 8.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.5651, allocations: 105.5 kB / 0.5903 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.5653, allocations: 73.59 kB / 0.5904 GB, free: 7.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5654, allocations: 327.1 kB / 0.5907 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.5661, allocations: 298.5 kB / 0.591 GB, free: 7.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.5668, allocations: 406.2 kB / 0.5913 GB, free: 7.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5681, allocations: 0.6829 MB / 0.592 GB, free: 7.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5681, allocations: 0 / 0.592 GB, free: 7.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001621/0.5697, allocations: 0.7461 MB / 0.5927 GB, free: 7.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5698, allocations: 7.812 kB / 0.5927 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5698, allocations: 3.219 kB / 0.5927 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5698, allocations: 5.281 kB / 0.5928 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.5709, allocations: 103.1 kB / 0.5929 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.571, allocations: 10.75 kB / 0.5929 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.5719, allocations: 50.91 kB / 0.5929 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.572, allocations: 23.95 kB / 0.5929 GB, free: 7.008 MB / 430.1 MB 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.0002222/0.5722, allocations: 146.2 kB / 0.5931 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5724, allocations: 19.53 kB / 0.5931 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5743, allocations: 0.7784 MB / 0.5939 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5743, allocations: 4.688 kB / 0.5939 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5743, allocations: 0 / 0.5939 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5744, allocations: 0 / 0.5939 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5754, allocations: 0.8042 MB / 0.5946 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5754, allocations: 6.469 kB / 0.5946 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.5765, allocations: 85 kB / 0.5947 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5765, allocations: 3.312 kB / 0.5947 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.5765, allocations: 12.23 kB / 0.5947 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5765, allocations: 2.594 kB / 0.5947 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5765, allocations: 0 / 0.5947 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.5785, allocations: 0.9603 MB / 0.5957 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.5786, allocations: 98.75 kB / 0.5958 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.5787, allocations: 10.12 kB / 0.5958 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5797, allocations: 33.33 kB / 0.5958 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.5798, allocations: 14.36 kB / 0.5958 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.5798, allocations: 21.47 kB / 0.5959 GB, free: 5.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.5799, allocations: 99.64 kB / 0.5959 GB, free: 5.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5799, allocations: 1.906 kB / 0.596 GB, free: 5.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009368/0.5809, allocations: 188 kB / 0.5961 GB, free: 5.379 MB / 430.1 MB 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.00324/0.5841, allocations: 1.746 MB / 0.5978 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.5856, allocations: 0.6744 MB / 0.5985 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.5856, allocations: 3.625 kB / 0.5985 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.5863, allocations: 329.4 kB / 0.5988 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.5871, allocations: 100.1 kB / 0.5989 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.593, allocations: 3.67 MB / 0.6025 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.5933, allocations: 0.7393 MB / 0.6032 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.5946, allocations: 177.3 kB / 0.6034 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.595, allocations: 67.55 kB / 0.6034 GB, free: 1.023 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.595, allocations: 6.281 kB / 0.6035 GB, free: 1.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.6299, allocations: 12.75 MB / 0.6159 GB, free: 6.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.536, allocations: 11.94 kB / 0.6159 GB, free: 6.191 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches