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.001366/0.001366, allocations: 113 kB / 17.33 MB, free: 6.016 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: 193.3 kB / 18.25 MB, free: 5.113 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.375/1.375, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2117/0.2117, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.52 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.516/0.6495, allocations: 147.6 MB / 0.602 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.6521, allocations: 2.186 MB / 0.6041 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.6522, allocations: 0 / 0.6041 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.6526, allocations: 49.78 kB / 0.6041 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.6541, allocations: 0.5851 MB / 0.6047 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.6544, allocations: 95.81 kB / 0.6048 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.6547, allocations: 259 kB / 0.6051 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.6548, allocations: 14.23 kB / 0.6051 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.655, allocations: 131.5 kB / 0.6052 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.6552, allocations: 111.6 kB / 0.6053 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.6553, allocations: 8 kB / 0.6053 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.6569, allocations: 1.095 MB / 0.6064 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.6571, allocations: 83.81 kB / 0.6065 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.6572, allocations: 95.53 kB / 0.6066 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6583, allocations: 0.756 MB / 0.6073 GB, free: 8.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6583, allocations: 0 / 0.6073 GB, free: 8.102 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6583, allocations: 4 kB / 0.6073 GB, free: 8.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.6583, allocations: 0 / 0.6073 GB, free: 8.098 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.0009886/0.6593, allocations: 0.5039 MB / 0.6078 GB, free: 7.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6593, allocations: 8.031 kB / 0.6078 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/0.6594, allocations: 54.73 kB / 0.6078 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.6664, allocations: 0.7457 MB / 0.6086 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.6669, allocations: 280 kB / 0.6088 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6669, allocations: 16.27 kB / 0.6089 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.667, allocations: 23.92 kB / 0.6089 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.6685, allocations: 0.7035 MB / 0.6096 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6685, allocations: 0 / 0.6096 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.6686, allocations: 8 kB / 0.6096 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.6686, allocations: 7.984 kB / 0.6096 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.6707, allocations: 0.9173 MB / 0.6105 GB, free: 4.73 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.00576/0.6765, allocations: 1.99 MB / 0.6124 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.6777, allocations: 0.5164 MB / 0.6129 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.6783, allocations: 317.7 kB / 0.6132 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.6793, allocations: 383.1 kB / 0.6136 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.6794, allocations: 38.56 kB / 0.6136 GB, free: 1.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.615e-06/0.6794, allocations: 0 / 0.6136 GB, free: 1.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002256/0.6816, allocations: 0.8913 MB / 0.6145 GB, free: 340 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.6817, allocations: 81.05 kB / 0.6146 GB, free: 240 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.6818, allocations: 134.8 kB / 0.6147 GB, free: 96 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.6819, allocations: 33.7 kB / 0.6147 GB, free: 56 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.682, allocations: 116.4 kB / 0.6148 GB, free: 15.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6821, allocations: 106.5 kB / 0.615 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.6824, allocations: 73.67 kB / 0.615 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6825, allocations: 326.8 kB / 0.6153 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.6832, allocations: 295.8 kB / 0.6156 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.6839, allocations: 417.2 kB / 0.616 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6853, allocations: 0.6929 MB / 0.6167 GB, free: 13.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.6853, allocations: 11.88 kB / 0.6167 GB, free: 13.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001687/0.687, allocations: 0.7352 MB / 0.6174 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.687, allocations: 8 kB / 0.6174 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6871, allocations: 4 kB / 0.6174 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6871, allocations: 8.391 kB / 0.6174 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6881, allocations: 99.86 kB / 0.6175 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.6882, allocations: 11.94 kB / 0.6175 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.689, allocations: 47.73 kB / 0.6176 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.6891, allocations: 23.98 kB / 0.6176 GB, free: 13 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.0002342/0.6894, allocations: 149.7 kB / 0.6178 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6895, allocations: 19.8 kB / 0.6178 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.6915, allocations: 0.7746 MB / 0.6185 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6915, allocations: 4 kB / 0.6185 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6916, allocations: 7.984 kB / 0.6185 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6916, allocations: 0 / 0.6185 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.6927, allocations: 0.8132 MB / 0.6193 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.6928, allocations: 0 / 0.6193 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.6939, allocations: 79.86 kB / 0.6194 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.6939, allocations: 0 / 0.6194 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.694, allocations: 19.97 kB / 0.6194 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.694, allocations: 0 / 0.6194 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.694, allocations: 0 / 0.6194 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.6965, allocations: 0.9635 MB / 0.6204 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6966, allocations: 88.95 kB / 0.6205 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6967, allocations: 8 kB / 0.6205 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6977, allocations: 39.86 kB / 0.6205 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.6978, allocations: 19.97 kB / 0.6205 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.6979, allocations: 23.97 kB / 0.6205 GB, free: 9.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.698, allocations: 100.1 kB / 0.6206 GB, free: 9.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.698, allocations: 0 / 0.6206 GB, free: 9.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00117/0.6992, allocations: 179.9 kB / 0.6208 GB, free: 9.57 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.003765/0.703, allocations: 1.751 MB / 0.6225 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.7046, allocations: 0.6793 MB / 0.6232 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7046, allocations: 0 / 0.6232 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.7053, allocations: 331.6 kB / 0.6235 GB, free: 6.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.7062, allocations: 92.72 kB / 0.6236 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.7136, allocations: 3.735 MB / 0.6272 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.7142, allocations: 0.7363 MB / 0.628 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.7156, allocations: 177.7 kB / 0.6281 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.716, allocations: 67.39 kB / 0.6282 GB, free: 1.801 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.716, allocations: 0 / 0.6282 GB, free: 1.801 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.7518, allocations: 12.59 MB / 0.6405 GB, free: 5.293 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.7521, allocations: 189.3 kB / 0.6407 GB, free: 5.035 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.881, allocations: 3.938 kB / 0.6407 GB, free: 5.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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