Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01488/0.01489, allocations: 176.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.201/2.201, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002045/0.002044, allocations: 116.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2703/0.2703, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005422/0.0005424, allocations: 10.56 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1118, allocations: 54.88 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.2673, allocations: 82.87 MB / 0.5313 GB, free: 232 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.2677, allocations: 75.89 kB / 0.5313 GB, free: 156 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3301/0.5978, allocations: 4.159 MB / 0.5354 GB, free: 83.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5979, allocations: 0 / 0.5354 GB, free: 83.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5979, allocations: 5.656 kB / 0.5354 GB, free: 83.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001113/0.599, allocations: 0.5302 MB / 0.5359 GB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5991, allocations: 12.8 kB / 0.5359 GB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5992, allocations: 73.22 kB / 0.536 GB, free: 83.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.5993, allocations: 35.2 kB / 0.536 GB, free: 83.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5995, allocations: 196.7 kB / 0.5362 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.5996, allocations: 30.14 kB / 0.5363 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.5997, allocations: 29.84 kB / 0.5363 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.6005, allocations: 272.8 kB / 0.5365 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6006, allocations: 0 / 0.5365 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.6006, allocations: 18.38 kB / 0.5366 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.6006, allocations: 11.23 kB / 0.5366 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.6013, allocations: 217 kB / 0.5368 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.6041, allocations: 1.03 MB / 0.5378 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6042, allocations: 32.95 kB / 0.5378 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.6043, allocations: 0 / 0.5378 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.6043, allocations: 32.95 kB / 0.5378 GB, free: 82.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.6043, allocations: 0 / 0.5378 GB, free: 82.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002723/0.6046, allocations: 71.64 kB / 0.5379 GB, free: 82.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.6046, allocations: 55.36 kB / 0.538 GB, free: 82.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.6052, allocations: 299.3 kB / 0.5382 GB, free: 82.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.6053, allocations: 27.42 kB / 0.5383 GB, free: 82.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.6055, allocations: 229.1 kB / 0.5385 GB, free: 81.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.6055, allocations: 7.922 kB / 0.5385 GB, free: 81.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.6055, allocations: 6.359 kB / 0.5385 GB, free: 81.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.6056, allocations: 330 kB / 0.5388 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.6059, allocations: 63.66 kB / 0.5389 GB, free: 81.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6061, allocations: 94.44 kB / 0.539 GB, free: 81.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.6064, allocations: 71.53 kB / 0.539 GB, free: 81.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6064, allocations: 0 / 0.539 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001034/0.6075, allocations: 232.8 kB / 0.5393 GB, free: 81.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6075, allocations: 11.83 kB / 0.5393 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6076, allocations: 1.062 kB / 0.5393 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.6076, allocations: 2.312 kB / 0.5393 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.6082, allocations: 62.3 kB / 0.5393 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6082, allocations: 5.078 kB / 0.5393 GB, free: 81.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.6087, allocations: 43.38 kB / 0.5394 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.6087, allocations: 8.156 kB / 0.5394 GB, free: 81.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.6089, allocations: 133 kB / 0.5395 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.609, allocations: 23.06 kB / 0.5395 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.609, allocations: 21.91 kB / 0.5396 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.609, allocations: 4 kB / 0.5396 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6091, allocations: 0 / 0.5396 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.6091, allocations: 6.078 kB / 0.5396 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.61, allocations: 0.5043 MB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.61, allocations: 1.375 kB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.6101, allocations: 3.234 kB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.6101, allocations: 1.406 kB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6101, allocations: 4.516 kB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6101, allocations: 6.5 kB / 0.5401 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6101, allocations: 3.984 kB / 0.5401 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.6103, allocations: 110.8 kB / 0.5402 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.6104, allocations: 100.5 kB / 0.5403 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.6105, allocations: 3.953 kB / 0.5403 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.6107, allocations: 8.766 kB / 0.5403 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.6107, allocations: 3.078 kB / 0.5403 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6107, allocations: 1 kB / 0.5403 GB, free: 80.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004026/0.6111, allocations: 225.5 kB / 0.5405 GB, free: 80.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6112, allocations: 448 / 0.5405 GB, free: 80.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.6116, allocations: 63.66 kB / 0.5406 GB, free: 80.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003696/0.612, allocations: 0.7132 MB / 0.5413 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004168/0.6124, allocations: 119.7 kB / 0.5414 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6124, allocations: 3.938 kB / 0.5414 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.6125, allocations: 9.594 kB / 0.5414 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6128, allocations: 30.25 kB / 0.5414 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.6154, allocations: 1.385 MB / 0.5428 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.6157, allocations: 0.7457 MB / 0.5435 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.6159, allocations: 23.81 kB / 0.5435 GB, free: 78.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.6161, allocations: 73.59 kB / 0.5436 GB, free: 78.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6161, allocations: 0 / 0.5436 GB, free: 78.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/0.6856, allocations: 3.701 MB / 0.5472 GB, free: 76.67 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.6859, allocations: 162.3 kB / 0.5474 GB, free: 76.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.254, allocations: 0 / 0.5474 GB, free: 76.44 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat