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.001095/0.001095, allocations: 113.8 kB / 17.28 MB, free: 6.219 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.001311/0.001311, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.289/1.289, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001114/0.001114, allocations: 56.14 kB / 280.2 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07577/0.0769, allocations: 46.63 MB / 326.9 MB, free: 4.715 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2921/0.369, allocations: 148.9 MB / 475.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3713, allocations: 2.091 MB / 477.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.3714, allocations: 3.938 kB / 477.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.3718, allocations: 43.78 kB / 477.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.3731, allocations: 0.5681 MB / 478.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.3734, allocations: 91.83 kB / 478.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.3737, allocations: 259.1 kB / 478.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.3737, allocations: 13.77 kB / 478.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.374, allocations: 131.5 kB / 478.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3742, allocations: 103.7 kB / 479 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3742, allocations: 8 kB / 479 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3756, allocations: 1.083 MB / 480.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.3757, allocations: 79.78 kB / 480.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3758, allocations: 95.64 kB / 480.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008285/0.3767, allocations: 0.7559 MB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3767, allocations: 0 / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3767, allocations: 0 / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3767, allocations: 3.938 kB / 481.1 MB, free: 13.31 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.0006727/0.3774, allocations: 0.4961 MB / 481.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3774, allocations: 13.34 kB / 481.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.3775, allocations: 50.73 kB / 481.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/0.3843, allocations: 0.7422 MB / 482.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3847, allocations: 280.1 kB / 482.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3847, allocations: 12.7 kB / 482.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3848, allocations: 23.94 kB / 482.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3862, allocations: 0.6995 MB / 483.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3862, allocations: 4.688 kB / 483.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.3863, allocations: 7.984 kB / 483.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3863, allocations: 12 kB / 483.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.3882, allocations: 0.925 MB / 484.3 MB, free: 9.949 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.004687/0.3929, allocations: 2.009 MB / 486.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.394, allocations: 0.5076 MB / 486.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.3947, allocations: 333.4 kB / 487.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.3954, allocations: 274.1 kB / 487.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3954, allocations: 34.56 kB / 487.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/0.3955, allocations: 0 / 487.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002046/0.3975, allocations: 0.8959 MB / 488.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3976, allocations: 81.11 kB / 488.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3977, allocations: 133.7 kB / 488.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.3977, allocations: 33.7 kB / 488.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.3978, allocations: 112.4 kB / 488.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3979, allocations: 110.4 kB / 488.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3981, allocations: 73.66 kB / 488.9 MB, free: 5.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3982, allocations: 326.8 kB / 489.2 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/0.3989, allocations: 295.8 kB / 489.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.3996, allocations: 416.2 kB / 489.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.401, allocations: 0.6841 MB / 490.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.401, allocations: 0 / 490.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001538/0.4025, allocations: 0.7429 MB / 491.3 MB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4025, allocations: 4 kB / 491.3 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4026, allocations: 4 kB / 491.3 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4026, allocations: 8 kB / 491.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4036, allocations: 108.2 kB / 491.4 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4036, allocations: 4 kB / 491.4 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.4044, allocations: 55.64 kB / 491.5 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.4045, allocations: 23.98 kB / 491.5 MB, free: 2.324 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.0002009/0.4047, allocations: 145.7 kB / 491.7 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4049, allocations: 19.84 kB / 491.7 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4068, allocations: 0.7787 MB / 492.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4068, allocations: 4 kB / 492.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4068, allocations: 0 / 492.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4068, allocations: 11.98 kB / 492.5 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.4078, allocations: 0.8057 MB / 493.3 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4078, allocations: 4 kB / 493.3 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.4088, allocations: 75.92 kB / 493.4 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4088, allocations: 0 / 493.4 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.4089, allocations: 15.92 kB / 493.4 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.4089, allocations: 7.938 kB / 493.4 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4089, allocations: 0 / 493.4 MB, free: 356 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.4109, allocations: 0.9645 MB / 494.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.411, allocations: 92.86 kB / 494.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.411, allocations: 8 kB / 494.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.412, allocations: 39.89 kB / 494.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4121, allocations: 15.97 kB / 494.5 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.4121, allocations: 23.97 kB / 494.5 MB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.064e-05/0.4122, allocations: 103.3 kB / 494.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4122, allocations: 0 / 494.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007284/0.4129, allocations: 180 kB / 494.8 MB, free: 14.89 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.002975/0.4159, allocations: 1.735 MB / 496.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4175, allocations: 0.6841 MB / 497.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4175, allocations: 0 / 497.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.4181, allocations: 335.6 kB / 497.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.4189, allocations: 90.44 kB / 497.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.4249, allocations: 3.711 MB / 0.4896 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.4253, allocations: 0.7401 MB / 0.4903 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.4267, allocations: 185.7 kB / 0.4905 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.4271, allocations: 67.39 kB / 0.4906 GB, free: 7.141 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4271, allocations: 0 / 0.4906 GB, free: 7.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.4616, allocations: 12.72 MB / 0.503 GB, free: 10.35 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.4618, allocations: 190.7 kB / 0.5032 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.635, allocations: 0 / 0.5032 GB, free: 10.09 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