Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test19",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.01522/0.01522, allocations: 175.8 kB / 15.12 MB, free: 6.051 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.09/2.09, allocations: 194.5 MB / 210.3 MB, free: 11.2 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.002114/0.002113, allocations: 108.7 kB / 255.6 MB, free: 14.3 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.4817/0.4817, allocations: 40.01 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004926, allocations: 16 kB / 406.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.364, allocations: 54.86 MB / 461.1 MB, free: 24.67 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5095, allocations: 81.98 MB / 0.5304 GB, free: 9.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5098, allocations: 75.89 kB / 0.5305 GB, free: 9.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02365/0.5335, allocations: 5.605 MB / 0.5359 GB, free: 3.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5335, allocations: 0 / 0.5359 GB, free: 3.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.5336, allocations: 4 kB / 0.5359 GB, free: 3.504 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009669/0.5346, allocations: 0.7014 MB / 0.5366 GB, free: 2.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5346, allocations: 8.031 kB / 0.5366 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.5347, allocations: 38.55 kB / 0.5367 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.5348, allocations: 35.58 kB / 0.5367 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.5354, allocations: 291.1 kB / 0.537 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5354, allocations: 4 kB / 0.537 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5354, allocations: 8 kB / 0.537 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5357, allocations: 85.41 kB / 0.5371 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5357, allocations: 4 kB / 0.5371 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5358, allocations: 3.984 kB / 0.5371 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5358, allocations: 7.953 kB / 0.5371 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.536, allocations: 51.98 kB / 0.5371 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.5368, allocations: 420.4 kB / 0.5375 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.537, allocations: 62.56 kB / 0.5376 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.537, allocations: 7.984 kB / 0.5376 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.5371, allocations: 30.56 kB / 0.5376 GB, free: 1.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5371, allocations: 0 / 0.5376 GB, free: 1.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000508/0.5376, allocations: 137.4 kB / 0.5378 GB, free: 1.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5376, allocations: 51.41 kB / 0.5378 GB, free: 1.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/0.5385, allocations: 428.8 kB / 0.5382 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5385, allocations: 25.7 kB / 0.5383 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.5387, allocations: 172 kB / 0.5384 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.5387, allocations: 23.66 kB / 0.5384 GB, free: 0.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.5388, allocations: 3.938 kB / 0.5384 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5389, allocations: 342.8 kB / 0.5388 GB, free: 368 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.5391, allocations: 35.97 kB / 0.5388 GB, free: 332 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.5392, allocations: 23.98 kB / 0.5388 GB, free: 308 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.5394, allocations: 164.5 kB / 0.539 GB, free: 112 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5394, allocations: 0 / 0.539 GB, free: 112 kB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000512/0.54, allocations: 265.7 kB / 0.5392 GB, free: 15.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5401, allocations: 152.4 kB / 0.5394 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5401, allocations: 0 / 0.5394 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5401, allocations: 0 / 0.5394 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5403, allocations: 12 kB / 0.5394 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5403, allocations: 4.234 kB / 0.5394 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.5404, allocations: 19.83 kB / 0.5394 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.5405, allocations: 8 kB / 0.5394 GB, free: 15.59 MB / 394.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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0002248/0.5407, allocations: 153.8 kB / 0.5396 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.5408, allocations: 35.67 kB / 0.5396 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.5412, allocations: 132.3 kB / 0.5397 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5413, allocations: 3.984 kB / 0.5397 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5413, allocations: 0 / 0.5397 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5413, allocations: 0 / 0.5397 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.5417, allocations: 265.5 kB / 0.54 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5417, allocations: 0 / 0.54 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.5418, allocations: 15.98 kB / 0.54 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5419, allocations: 7.953 kB / 0.54 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5419, allocations: 4 kB / 0.54 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5419, allocations: 4 kB / 0.54 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5419, allocations: 0 / 0.54 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.5423, allocations: 207.1 kB / 0.5402 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.5425, allocations: 120.7 kB / 0.5403 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.5426, allocations: 11.94 kB / 0.5403 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5427, allocations: 4 kB / 0.5403 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.5428, allocations: 8 kB / 0.5404 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.5428, allocations: 0 / 0.5404 GB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005912/0.5434, allocations: 339.1 kB / 0.5407 GB, free: 14.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5434, allocations: 0 / 0.5407 GB, free: 14.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.5438, allocations: 59.88 kB / 0.5407 GB, free: 14.15 MB / 394.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 (6): * Single equations (assignments): 6 * 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.002315/0.5462, allocations: 1.154 MB / 0.5419 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.5468, allocations: 333 kB / 0.5422 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5468, allocations: 4 kB / 0.5422 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.547, allocations: 35.92 kB / 0.5422 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.5475, allocations: 33.36 kB / 0.5422 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.5493, allocations: 0.8603 MB / 0.5431 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.5498, allocations: 0.7628 MB / 0.5438 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.55, allocations: 32.8 kB / 0.5439 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5502, allocations: 87.39 kB / 0.5439 GB, free: 10.75 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5502, allocations: 0 / 0.5439 GB, free: 10.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.5816, allocations: 4.859 MB / 0.5487 GB, free: 5.926 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.582, allocations: 203.7 kB / 0.5489 GB, free: 5.691 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.265, allocations: 0 / 0.5489 GB, free: 5.691 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test19_res.mat does not exist to compare? outputFormat=mat