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.001169/0.00117, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001211/0.001211, allocations: 192 kB / 18.55 MB, free: 4.566 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.442/1.442, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2105/0.2105, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.27 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 60.82 MB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3952/0.5037, allocations: 149.7 MB / 0.6045 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.5061, allocations: 2.193 MB / 0.6067 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.5061, allocations: 8 kB / 0.6067 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.5065, allocations: 47.72 kB / 0.6067 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.5078, allocations: 0.6369 MB / 0.6073 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.5081, allocations: 96.8 kB / 0.6074 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.5084, allocations: 263 kB / 0.6077 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.5085, allocations: 10.25 kB / 0.6077 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.5087, allocations: 135.4 kB / 0.6078 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.5089, allocations: 79.78 kB / 0.6079 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.5089, allocations: 12 kB / 0.6079 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.5104, allocations: 0.943 MB / 0.6088 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.5105, allocations: 87.75 kB / 0.6089 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.5106, allocations: 95.66 kB / 0.609 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.5115, allocations: 0.6859 MB / 0.6097 GB, free: 5.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5115, allocations: 4 kB / 0.6097 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5115, allocations: 0 / 0.6097 GB, free: 5.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.5116, allocations: 0 / 0.6097 GB, free: 5.762 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.0007424/0.5123, allocations: 0.4961 MB / 0.6102 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5123, allocations: 12.03 kB / 0.6102 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.5124, allocations: 50.73 kB / 0.6102 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007606/0.52, allocations: 0.7457 MB / 0.611 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.5205, allocations: 280 kB / 0.6112 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5205, allocations: 16.27 kB / 0.6112 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5206, allocations: 16 kB / 0.6113 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.522, allocations: 0.6996 MB / 0.6119 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.522, allocations: 3.938 kB / 0.6119 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.5221, allocations: 8 kB / 0.612 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.5221, allocations: 8 kB / 0.612 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.5241, allocations: 0.9134 MB / 0.6129 GB, free: 2.414 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.005179/0.5293, allocations: 2.005 MB / 0.6148 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5305, allocations: 0.5126 MB / 0.6153 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.5313, allocations: 321.6 kB / 0.6156 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.5324, allocations: 379.2 kB / 0.616 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5324, allocations: 34.56 kB / 0.616 GB, free: 14.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.5324, allocations: 0 / 0.616 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002723/0.5352, allocations: 0.8882 MB / 0.6169 GB, free: 14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.5352, allocations: 81.11 kB / 0.617 GB, free: 13.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.5354, allocations: 137.7 kB / 0.6171 GB, free: 13.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.5355, allocations: 29.7 kB / 0.6171 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.5355, allocations: 116.4 kB / 0.6172 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5357, allocations: 106.4 kB / 0.6173 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5359, allocations: 81.67 kB / 0.6174 GB, free: 13.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.536, allocations: 322.8 kB / 0.6177 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.5367, allocations: 295.8 kB / 0.618 GB, free: 12.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.5375, allocations: 405.3 kB / 0.6184 GB, free: 12.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.5389, allocations: 0.6905 MB / 0.6191 GB, free: 11.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.5389, allocations: 7.938 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001658/0.5406, allocations: 0.7379 MB / 0.6198 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5406, allocations: 11.94 kB / 0.6198 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5406, allocations: 7.938 kB / 0.6198 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5406, allocations: 4 kB / 0.6198 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5418, allocations: 104.7 kB / 0.6199 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5418, allocations: 4 kB / 0.6199 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.5428, allocations: 47.73 kB / 0.62 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.5429, allocations: 28.14 kB / 0.62 GB, free: 10.68 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.000258/0.5431, allocations: 153.6 kB / 0.6201 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.5433, allocations: 15.81 kB / 0.6201 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.5454, allocations: 0.7746 MB / 0.6209 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5454, allocations: 4 kB / 0.6209 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5454, allocations: 0 / 0.6209 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5454, allocations: 4 kB / 0.6209 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5465, allocations: 0.8134 MB / 0.6217 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5465, allocations: 0 / 0.6217 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5476, allocations: 83.42 kB / 0.6218 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5477, allocations: 0 / 0.6218 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.5477, allocations: 11.98 kB / 0.6218 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5477, allocations: 8 kB / 0.6218 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5477, allocations: 0 / 0.6218 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.5499, allocations: 0.9591 MB / 0.6227 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.55, allocations: 92.95 kB / 0.6228 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.5501, allocations: 8 kB / 0.6228 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5511, allocations: 31.95 kB / 0.6229 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.5512, allocations: 11.98 kB / 0.6229 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.5513, allocations: 27.91 kB / 0.6229 GB, free: 7.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.5513, allocations: 103.2 kB / 0.623 GB, free: 7.438 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5513, allocations: 0 / 0.623 GB, free: 7.438 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008534/0.5522, allocations: 187.8 kB / 0.6232 GB, free: 7.254 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.003334/0.5555, allocations: 1.742 MB / 0.6249 GB, free: 5.488 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.557, allocations: 0.6801 MB / 0.6255 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.5571, allocations: 7.938 kB / 0.6256 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.5577, allocations: 326.2 kB / 0.6259 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.5585, allocations: 95.81 kB / 0.626 GB, free: 4.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.5643, allocations: 3.667 MB / 0.6295 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.5647, allocations: 0.7363 MB / 0.6303 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.566, allocations: 181.7 kB / 0.6304 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.5664, allocations: 67.39 kB / 0.6305 GB, free: 15.55 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5664, allocations: 3.938 kB / 0.6305 GB, free: 15.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05234/0.6187, allocations: 12.71 MB / 0.6429 GB, free: 2.891 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.647, allocations: 8 kB / 0.6429 GB, free: 2.883 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