Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test25.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.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test25",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.009847/0.009847, allocations: 176 kB / 15.12 MB, free: 5.93 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.074/2.074, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002037/0.002036, allocations: 120.6 kB / 255.6 MB, free: 11.39 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.2566/0.2566, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 12.94 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 54.87 MB / 461.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.2505, allocations: 80.97 MB / 0.5294 GB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.2508, allocations: 75.97 kB / 0.5295 GB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3061/0.5569, allocations: 2.89 MB / 0.5323 GB, free: 82.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.557, allocations: 2.812 kB / 0.5323 GB, free: 82.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.557, allocations: 5.375 kB / 0.5323 GB, free: 82.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004805/0.5575, allocations: 414.9 kB / 0.5327 GB, free: 81.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5576, allocations: 9.312 kB / 0.5327 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.5576, allocations: 42.89 kB / 0.5328 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.5577, allocations: 9.094 kB / 0.5328 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.5579, allocations: 183.7 kB / 0.5329 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5579, allocations: 6.375 kB / 0.5329 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.5579, allocations: 8.312 kB / 0.5329 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.5582, allocations: 66.31 kB / 0.533 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5582, allocations: 0 / 0.533 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5582, allocations: 3.953 kB / 0.533 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5582, allocations: 0.7031 kB / 0.533 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.5585, allocations: 45.47 kB / 0.5331 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.5589, allocations: 285.1 kB / 0.5333 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.5591, allocations: 48.19 kB / 0.5334 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.5592, allocations: 9.984 kB / 0.5334 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5592, allocations: 35.59 kB / 0.5334 GB, free: 81.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.5592, allocations: 1.5 kB / 0.5334 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00129/0.5605, allocations: 242.5 kB / 0.5337 GB, free: 81.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5606, allocations: 55 kB / 0.5337 GB, free: 81.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.5607, allocations: 139.7 kB / 0.5338 GB, free: 80.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5608, allocations: 26.67 kB / 0.5339 GB, free: 80.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.5608, allocations: 100.9 kB / 0.534 GB, free: 80.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.5609, allocations: 22.98 kB / 0.534 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.5609, allocations: 0 / 0.534 GB, free: 80.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.561, allocations: 320 kB / 0.5343 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5612, allocations: 45.34 kB / 0.5343 GB, free: 80.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.5614, allocations: 43.41 kB / 0.5344 GB, free: 80.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5617, allocations: 73.97 kB / 0.5344 GB, free: 80.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5617, allocations: 1.906 kB / 0.5344 GB, free: 80.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005203/0.5622, allocations: 164.4 kB / 0.5346 GB, free: 80.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.5623, allocations: 31.05 kB / 0.5346 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5623, allocations: 3.844 kB / 0.5346 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5623, allocations: 3.688 kB / 0.5346 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5625, allocations: 22.42 kB / 0.5347 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5625, allocations: 0.7969 kB / 0.5347 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5627, allocations: 16.73 kB / 0.5347 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.5627, allocations: 2.828 kB / 0.5347 GB, free: 80.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.966e-05/0.5628, allocations: 120.8 kB / 0.5348 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.5629, allocations: 13.94 kB / 0.5348 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.5634, allocations: 150.3 kB / 0.535 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5635, allocations: 0 / 0.535 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5635, allocations: 0.5625 kB / 0.535 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5635, allocations: 0.7031 kB / 0.535 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.5643, allocations: 411.9 kB / 0.5353 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5644, allocations: 0 / 0.5353 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.5645, allocations: 26.83 kB / 0.5354 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5645, allocations: 4.172 kB / 0.5354 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5646, allocations: 0 / 0.5354 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5646, allocations: 1.266 kB / 0.5354 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5646, allocations: 0 / 0.5354 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.5651, allocations: 232.5 kB / 0.5356 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.5652, allocations: 84.23 kB / 0.5357 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5652, allocations: 4.812 kB / 0.5357 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.5654, allocations: 20.72 kB / 0.5357 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.5654, allocations: 5.656 kB / 0.5357 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5655, allocations: 2.688 kB / 0.5357 GB, free: 79.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.5656, allocations: 123.7 kB / 0.5358 GB, free: 79.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5656, allocations: 3.625 kB / 0.5358 GB, free: 79.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.5659, allocations: 16.5 kB / 0.5358 GB, free: 79.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001404/0.5673, allocations: 0.9462 MB / 0.5368 GB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.5679, allocations: 156.5 kB / 0.5369 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5679, allocations: 0 / 0.5369 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.5682, allocations: 54.62 kB / 0.537 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.5685, allocations: 4.844 kB / 0.537 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.5693, allocations: 445.5 kB / 0.5374 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.5695, allocations: 0.6966 MB / 0.5381 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.6e-05/0.5696, allocations: 12.39 kB / 0.5381 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.5697, allocations: 31.94 kB / 0.5381 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5697, allocations: 0 / 0.5381 GB, free: 77.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.5977, allocations: 1.991 MB / 0.5401 GB, free: 77.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.598, allocations: 208.9 kB / 0.5403 GB, free: 77.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.102, allocations: 0 / 0.5403 GB, free: 77.09 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test25_res.mat does not exist to compare? outputFormat=mat