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.0007283/0.0007283, allocations: 96.81 kB / 17.3 MB, free: 6.109 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.0007313/0.0007313, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.235/1.235, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004388/0.0004389, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07396/0.07441, allocations: 47.58 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2727/0.3471, allocations: 146.8 MB / 475.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3492, allocations: 2.121 MB / 478 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.3493, allocations: 0 / 478 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3496, allocations: 55.72 kB / 478.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.3506, allocations: 0.5485 MB / 478.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.3508, allocations: 95.8 kB / 478.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3512, allocations: 366.9 kB / 479.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.3512, allocations: 13.83 kB / 479.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3514, allocations: 123.5 kB / 479.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3516, allocations: 103.6 kB / 479.3 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3516, allocations: 4 kB / 479.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.3531, allocations: 1.2 MB / 480.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.3532, allocations: 79.81 kB / 480.6 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3533, allocations: 117.3 kB / 480.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.3542, allocations: 0.7597 MB / 481.5 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3542, allocations: 0 / 481.5 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3542, allocations: 0 / 481.5 MB, free: 1.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3542, allocations: 0 / 481.5 MB, free: 1.176 MB / 366.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.0005495/0.3547, allocations: 468.1 kB / 481.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3548, allocations: 12.03 kB / 481.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.3548, allocations: 50.73 kB / 482 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00678/0.3616, allocations: 0.7189 MB / 482.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.362, allocations: 284 kB / 483 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.362, allocations: 12.69 kB / 483 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3621, allocations: 19.94 kB / 483 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3635, allocations: 0.7073 MB / 483.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3635, allocations: 3.938 kB / 483.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.3636, allocations: 12 kB / 483.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3636, allocations: 8 kB / 483.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.3655, allocations: 0.9259 MB / 484.7 MB, free: 13.87 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.004542/0.37, allocations: 2.001 MB / 486.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3711, allocations: 0.5048 MB / 487.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.3717, allocations: 329.5 kB / 487.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.3724, allocations: 270.1 kB / 487.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3724, allocations: 34.56 kB / 487.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.3724, allocations: 4 kB / 487.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002069/0.3745, allocations: 0.8841 MB / 488.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3746, allocations: 81.11 kB / 488.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3747, allocations: 133.8 kB / 488.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.3747, allocations: 29.7 kB / 488.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3748, allocations: 116.5 kB / 489 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3749, allocations: 114.4 kB / 489.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.375, allocations: 29.7 kB / 489.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.3751, allocations: 330.8 kB / 489.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.3757, allocations: 295.8 kB / 489.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.3764, allocations: 408.2 kB / 490.2 MB, free: 7.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3777, allocations: 0.688 MB / 490.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3777, allocations: 0 / 490.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001575/0.3793, allocations: 0.751 MB / 491.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3793, allocations: 8 kB / 491.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3794, allocations: 5 kB / 491.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3794, allocations: 8 kB / 491.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3804, allocations: 99.84 kB / 491.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3804, allocations: 4 kB / 491.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.3813, allocations: 59.73 kB / 491.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.3814, allocations: 24.38 kB / 491.8 MB, free: 6.297 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.0001798/0.3815, allocations: 145.7 kB / 492 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3817, allocations: 27.69 kB / 492 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.3835, allocations: 0.7721 MB / 492.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3835, allocations: 0 / 492.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3835, allocations: 11.88 kB / 492.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-06/0.3836, allocations: 7.969 kB / 492.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.3845, allocations: 0.806 MB / 493.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3845, allocations: 0 / 493.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3855, allocations: 79.86 kB / 493.7 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3855, allocations: 4 kB / 493.7 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.3856, allocations: 15.98 kB / 493.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3856, allocations: 0 / 493.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3856, allocations: 3.984 kB / 493.7 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3875, allocations: 0.9643 MB / 494.7 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3875, allocations: 92.95 kB / 494.7 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.3876, allocations: 4 kB / 494.7 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.3886, allocations: 43.89 kB / 494.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.3886, allocations: 19.97 kB / 494.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.3887, allocations: 23.91 kB / 494.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.3887, allocations: 99.27 kB / 494.9 MB, free: 3.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.3888, allocations: 0 / 494.9 MB, free: 3.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006431/0.3894, allocations: 183.8 kB / 495.1 MB, free: 2.855 MB / 382.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.002762/0.3922, allocations: 1.738 MB / 496.8 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3935, allocations: 0.6557 MB / 497.5 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3935, allocations: 0.8125 kB / 497.5 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.3942, allocations: 327.8 kB / 497.8 MB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.3949, allocations: 94.03 kB / 497.9 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.4004, allocations: 3.853 MB / 0.49 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4006, allocations: 0.7401 MB / 0.4907 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.4018, allocations: 181.7 kB / 0.4909 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.4022, allocations: 67.39 kB / 0.491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4022, allocations: 4 kB / 0.491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/1.55, allocations: 12.31 MB / 0.503 GB, free: 14.62 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.55, allocations: 197.7 kB / 0.5032 GB, free: 14.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.913/4.463, allocations: 4 kB / 0.5032 GB, free: 14.35 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