Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001169, allocations: 109 kB / 17.15 MB, free: 6.328 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.00125/0.00125, allocations: 198 kB / 18.07 MB, free: 5.434 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.145/1.145, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.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.00109/0.00109, allocations: 55.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0795/0.0806, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3033/0.3839, allocations: 148.7 MB / 475.4 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.3864, allocations: 2.153 MB / 477.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3865, allocations: 7.938 kB / 477.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3868, allocations: 51.78 kB / 477.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.3879, allocations: 0.5485 MB / 478.2 MB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3882, allocations: 95.77 kB / 478.3 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.3886, allocations: 370.9 kB / 478.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.3886, allocations: 9.766 kB / 478.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3889, allocations: 127.5 kB / 478.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3891, allocations: 95.7 kB / 478.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3891, allocations: 4 kB / 478.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.3908, allocations: 1.204 MB / 480.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.3909, allocations: 79.77 kB / 480.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.391, allocations: 91.64 kB / 480.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009683/0.392, allocations: 0.7558 MB / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.392, allocations: 0 / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.392, allocations: 0 / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.392, allocations: 0 / 481 MB, free: 13.27 MB / 382.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.0007737/0.3928, allocations: 0.5039 MB / 481.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3928, allocations: 12.03 kB / 481.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.3929, allocations: 51.61 kB / 481.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00685/0.3998, allocations: 0.7422 MB / 482.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.4002, allocations: 276.1 kB / 482.6 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4003, allocations: 12.7 kB / 482.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4004, allocations: 23.94 kB / 482.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4018, allocations: 0.707 MB / 483.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4018, allocations: 0 / 483.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.4019, allocations: 11.94 kB / 483.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.4019, allocations: 8 kB / 483.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.4039, allocations: 0.929 MB / 484.3 MB, free: 9.902 MB / 382.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.004659/0.4086, allocations: 2.001 MB / 486.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.4097, allocations: 0.5054 MB / 486.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/0.4104, allocations: 325.5 kB / 487.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.4111, allocations: 274.1 kB / 487.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4111, allocations: 42.56 kB / 487.4 MB, free: 6.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.4112, allocations: 0 / 487.4 MB, free: 6.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002096/0.4133, allocations: 0.8941 MB / 488.3 MB, free: 5.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4133, allocations: 81.11 kB / 488.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4134, allocations: 133.7 kB / 488.5 MB, free: 5.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.4135, allocations: 33.7 kB / 488.5 MB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.4136, allocations: 108.6 kB / 488.7 MB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.4137, allocations: 114.4 kB / 488.8 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.4139, allocations: 69.67 kB / 488.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.414, allocations: 330.8 kB / 489.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.4146, allocations: 299.8 kB / 489.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.4153, allocations: 408.2 kB / 489.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.4166, allocations: 0.6841 MB / 490.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4166, allocations: 0 / 490.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001586/0.4182, allocations: 0.7468 MB / 491.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4183, allocations: 8.406 kB / 491.3 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4183, allocations: 4 kB / 491.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4183, allocations: 11.94 kB / 491.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/0.4193, allocations: 99.84 kB / 491.4 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4193, allocations: 4 kB / 491.4 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007981/0.4201, allocations: 59.64 kB / 491.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.4202, allocations: 23.98 kB / 491.5 MB, free: 2.285 MB / 382.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.0001881/0.4204, allocations: 145.7 kB / 491.6 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4205, allocations: 19.84 kB / 491.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4224, allocations: 0.7764 MB / 492.4 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4224, allocations: 3.984 kB / 492.4 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4224, allocations: 4 kB / 492.4 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4224, allocations: 3.984 kB / 492.4 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.4233, allocations: 0.8214 MB / 493.3 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4234, allocations: 0 / 493.3 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/0.4243, allocations: 75.86 kB / 493.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4243, allocations: 0 / 493.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.4244, allocations: 20.55 kB / 493.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4244, allocations: 0 / 493.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4244, allocations: 3.984 kB / 493.4 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.4263, allocations: 0.9604 MB / 494.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.4263, allocations: 92.86 kB / 494.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/0.4264, allocations: 11.94 kB / 494.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.4273, allocations: 39.89 kB / 494.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.4274, allocations: 23.97 kB / 494.5 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.4275, allocations: 23.97 kB / 494.5 MB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.4275, allocations: 101.4 kB / 494.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4275, allocations: 0 / 494.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007069/0.4282, allocations: 175.9 kB / 494.8 MB, free: 14.85 MB / 398.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.002899/0.4312, allocations: 1.742 MB / 496.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.4325, allocations: 0.6518 MB / 497.2 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4325, allocations: 0 / 497.2 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.4332, allocations: 328.6 kB / 497.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/0.4339, allocations: 96.61 kB / 497.6 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.4396, allocations: 3.711 MB / 0.4895 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4401, allocations: 0.7363 MB / 0.4903 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001254/0.4413, allocations: 181.7 kB / 0.4904 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.4417, allocations: 67.39 kB / 0.4905 GB, free: 7.125 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4417, allocations: 0 / 0.4905 GB, free: 7.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/2.301, allocations: 12.42 MB / 0.5026 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.301, allocations: 190.4 kB / 0.5028 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/4.264, allocations: 3.938 kB / 0.5028 GB, free: 10.36 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches