Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test7",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.02239/0.02239, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.028/2.028, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002012/0.002011, allocations: 116.7 kB / 255.6 MB, free: 11.2 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.2663/0.2663, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004617, allocations: 12.53 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09563, allocations: 54.88 MB / 461.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.2382, allocations: 80.87 MB / 0.5293 GB, free: 2.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.2386, allocations: 71.95 kB / 0.5294 GB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3169/0.5555, allocations: 5.207 MB / 0.5345 GB, free: 82.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5556, allocations: 0 / 0.5345 GB, free: 82.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.5557, allocations: 12.56 kB / 0.5345 GB, free: 82.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001101/0.5568, allocations: 0.6306 MB / 0.5351 GB, free: 81.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.5569, allocations: 9.281 kB / 0.5351 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.5569, allocations: 35.3 kB / 0.5351 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.5571, allocations: 41.41 kB / 0.5352 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.5578, allocations: 314.5 kB / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5578, allocations: 5.094 kB / 0.5355 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5578, allocations: 2.219 kB / 0.5355 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.558, allocations: 50.56 kB / 0.5355 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.558, allocations: 0 / 0.5355 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5581, allocations: 5.016 kB / 0.5355 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5581, allocations: 4.844 kB / 0.5355 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.5582, allocations: 23.75 kB / 0.5356 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.559, allocations: 417.2 kB / 0.536 GB, free: 80.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.5591, allocations: 35.95 kB / 0.536 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.5591, allocations: 4.688 kB / 0.536 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.5592, allocations: 31.97 kB / 0.536 GB, free: 80.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/0.5592, allocations: 4.938 kB / 0.536 GB, free: 80.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000382/0.5596, allocations: 99.39 kB / 0.5361 GB, free: 80.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.5596, allocations: 52.06 kB / 0.5362 GB, free: 80.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.5615, allocations: 0.7726 MB / 0.5369 GB, free: 80.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5616, allocations: 28.98 kB / 0.537 GB, free: 80.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.5618, allocations: 214.8 kB / 0.5372 GB, free: 80.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.5618, allocations: 9.281 kB / 0.5372 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5619, allocations: 0 / 0.5372 GB, free: 80.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.562, allocations: 357.2 kB / 0.5375 GB, free: 80.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.5621, allocations: 14.81 kB / 0.5375 GB, free: 80.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.5622, allocations: 14.08 kB / 0.5375 GB, free: 80.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.5623, allocations: 40.64 kB / 0.5376 GB, free: 80.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5623, allocations: 4 kB / 0.5376 GB, free: 80.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003073/0.5626, allocations: 122.9 kB / 0.5377 GB, free: 80.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.5627, allocations: 35.88 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.5627, allocations: 0.6562 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5627, allocations: 1.188 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.5628, allocations: 7.453 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5628, allocations: 1 kB / 0.5377 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.563, allocations: 17.06 kB / 0.5378 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.563, allocations: 1.062 kB / 0.5378 GB, free: 79.98 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 (3): * Single equations (assignments): 2 * 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 0.0002805/0.5633, allocations: 210 kB / 0.538 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5634, allocations: 38.44 kB / 0.538 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.5637, allocations: 115.6 kB / 0.5381 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5637, allocations: 0 / 0.5381 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5637, allocations: 1.062 kB / 0.5381 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5638, allocations: 4.594 kB / 0.5381 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.5642, allocations: 315.7 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5642, allocations: 1.188 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.5643, allocations: 7.266 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5643, allocations: 0 / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.5643, allocations: 0.7812 kB / 0.5384 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.5644, allocations: 6.016 kB / 0.5384 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5644, allocations: 0 / 0.5384 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.5646, allocations: 197.5 kB / 0.5386 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.5649, allocations: 152.7 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.565, allocations: 2.656 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5651, allocations: 4.406 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.5652, allocations: 5.812 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.5652, allocations: 1.734 kB / 0.5388 GB, free: 79.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.5663, allocations: 0.6299 MB / 0.5394 GB, free: 79.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5664, allocations: 1.062 kB / 0.5394 GB, free: 79.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00042/0.5668, allocations: 48.67 kB / 0.5394 GB, free: 79.22 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 (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.001041/0.5678, allocations: 0.8698 MB / 0.5403 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.5681, allocations: 86.19 kB / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5681, allocations: 0 / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.5682, allocations: 15.56 kB / 0.5404 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.5686, allocations: 21.83 kB / 0.5404 GB, free: 78.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.571, allocations: 1.282 MB / 0.5417 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.5714, allocations: 0.8231 MB / 0.5425 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.5716, allocations: 43.91 kB / 0.5425 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5719, allocations: 104.7 kB / 0.5426 GB, free: 77.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5719, allocations: 0.9688 kB / 0.5426 GB, free: 77.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.6085, allocations: 5.715 MB / 0.5482 GB, free: 75.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.6088, allocations: 208.6 kB / 0.5484 GB, free: 74.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.288, allocations: 0 / 0.5484 GB, free: 74.92 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat