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.001193/0.001193, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00121/0.00121, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.415/1.415, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2233/0.2233, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.3 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3995/0.5082, allocations: 149.7 MB / 0.6045 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.5113, allocations: 2.191 MB / 0.6067 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.5114, allocations: 7.938 kB / 0.6067 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.5118, allocations: 57.78 kB / 0.6067 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.5138, allocations: 0.6333 MB / 0.6073 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.5142, allocations: 98.44 kB / 0.6074 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.5147, allocations: 259.1 kB / 0.6077 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/0.5147, allocations: 14.19 kB / 0.6077 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.5151, allocations: 131.5 kB / 0.6078 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.5154, allocations: 87.72 kB / 0.6079 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.5154, allocations: 12 kB / 0.6079 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.5174, allocations: 0.9392 MB / 0.6088 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.5175, allocations: 79.77 kB / 0.6089 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.5177, allocations: 99.64 kB / 0.609 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.5193, allocations: 0.682 MB / 0.6097 GB, free: 5.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5193, allocations: 0 / 0.6097 GB, free: 5.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5193, allocations: 4 kB / 0.6097 GB, free: 5.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5193, allocations: 0 / 0.6097 GB, free: 5.754 MB / 446.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.001271/0.5206, allocations: 0.5001 MB / 0.6102 GB, free: 5.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.5207, allocations: 15.97 kB / 0.6102 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.5208, allocations: 50.73 kB / 0.6102 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007807/0.5286, allocations: 0.7457 MB / 0.611 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.5292, allocations: 276 kB / 0.6112 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.5292, allocations: 20.27 kB / 0.6112 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.5294, allocations: 16 kB / 0.6113 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5311, allocations: 0.6996 MB / 0.6119 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5311, allocations: 0 / 0.6119 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.5312, allocations: 8 kB / 0.6119 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.5313, allocations: 11.94 kB / 0.612 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.5333, allocations: 0.9167 MB / 0.6129 GB, free: 2.398 MB / 446.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.005676/0.539, allocations: 2.001 MB / 0.6148 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5402, allocations: 0.5164 MB / 0.6153 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/0.5409, allocations: 324.5 kB / 0.6156 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.542, allocations: 371.2 kB / 0.616 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.5421, allocations: 42.56 kB / 0.616 GB, free: 14.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.5421, allocations: 0 / 0.616 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002241/0.5443, allocations: 0.8891 MB / 0.6169 GB, free: 13.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5444, allocations: 81.11 kB / 0.617 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5445, allocations: 129.7 kB / 0.6171 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.5446, allocations: 33.7 kB / 0.6171 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.5447, allocations: 116.3 kB / 0.6172 GB, free: 13.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.5448, allocations: 110.4 kB / 0.6173 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.545, allocations: 69.67 kB / 0.6174 GB, free: 13.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5451, allocations: 330.8 kB / 0.6177 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.5458, allocations: 295.8 kB / 0.618 GB, free: 12.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.5466, allocations: 409.3 kB / 0.6184 GB, free: 12.35 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.5481, allocations: 0.6942 MB / 0.6191 GB, free: 11.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5481, allocations: 3.938 kB / 0.6191 GB, free: 11.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001726/0.5498, allocations: 0.7411 MB / 0.6198 GB, free: 10.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5498, allocations: 8 kB / 0.6198 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5499, allocations: 4.875 kB / 0.6198 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5499, allocations: 4 kB / 0.6198 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.551, allocations: 103.8 kB / 0.6199 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5511, allocations: 7.938 kB / 0.6199 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.552, allocations: 47.73 kB / 0.62 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.5521, allocations: 23.98 kB / 0.62 GB, free: 10.66 MB / 462.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.0002265/0.5524, allocations: 149.7 kB / 0.6201 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.5525, allocations: 19.81 kB / 0.6201 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.5546, allocations: 0.7712 MB / 0.6209 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.5546, allocations: 8 kB / 0.6209 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5546, allocations: 0 / 0.6209 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5546, allocations: 4 kB / 0.6209 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.5557, allocations: 0.8134 MB / 0.6217 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5557, allocations: 7.688 kB / 0.6217 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.5569, allocations: 71.92 kB / 0.6218 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5569, allocations: 7.938 kB / 0.6218 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.557, allocations: 11.98 kB / 0.6218 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.557, allocations: 4 kB / 0.6218 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.557, allocations: 4 kB / 0.6218 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.5592, allocations: 0.9552 MB / 0.6227 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.5593, allocations: 92.94 kB / 0.6228 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/0.5594, allocations: 8 kB / 0.6228 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5604, allocations: 31.95 kB / 0.6229 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5605, allocations: 15.98 kB / 0.6229 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.5606, allocations: 19.97 kB / 0.6229 GB, free: 7.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.5606, allocations: 111.6 kB / 0.623 GB, free: 7.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5607, allocations: 3.938 kB / 0.623 GB, free: 7.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008812/0.5615, allocations: 187.8 kB / 0.6232 GB, free: 7.234 MB / 462.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.003489/0.565, allocations: 1.746 MB / 0.6249 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.5667, allocations: 0.6755 MB / 0.6256 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5668, allocations: 0 / 0.6256 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.5676, allocations: 331.7 kB / 0.6259 GB, free: 4.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.5683, allocations: 81.98 kB / 0.626 GB, free: 4.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006615/0.575, allocations: 3.684 MB / 0.6295 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5754, allocations: 0.7363 MB / 0.6303 GB, free: 15.78 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001369/0.5768, allocations: 177.7 kB / 0.6304 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.5771, allocations: 63.39 kB / 0.6305 GB, free: 15.54 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5771, allocations: 0 / 0.6305 GB, free: 15.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.6126, allocations: 12.7 MB / 0.6429 GB, free: 2.867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.341, allocations: 4 kB / 0.6429 GB, free: 2.863 MB / 478.1 MB (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