Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test3",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.00998/0.009979, allocations: 174.8 kB / 15.12 MB, free: 6 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 1.994/1.994, 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.002/0.002, allocations: 124.5 kB / 255.6 MB, free: 14.29 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.4698/0.4698, allocations: 40 MB / 340.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004775, allocations: 16 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3436, allocations: 54.86 MB / 461.1 MB, free: 24.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5105, allocations: 80.98 MB / 0.5294 GB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.5109, allocations: 67.97 kB / 0.5295 GB, free: 9.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02916/0.5401, allocations: 5.492 MB / 0.5348 GB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5402, allocations: 0 / 0.5348 GB, free: 4.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.5402, allocations: 12 kB / 0.5348 GB, free: 4.477 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.001148/0.5414, allocations: 0.6432 MB / 0.5355 GB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5415, allocations: 8.031 kB / 0.5355 GB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.5415, allocations: 38.55 kB / 0.5355 GB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.5417, allocations: 47.31 kB / 0.5356 GB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.5424, allocations: 311.5 kB / 0.5359 GB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5424, allocations: 4 kB / 0.5359 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5424, allocations: 4 kB / 0.5359 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.5427, allocations: 69.61 kB / 0.5359 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5427, allocations: 0 / 0.5359 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.5428, allocations: 7.922 kB / 0.5359 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5428, allocations: 0 / 0.5359 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.543, allocations: 47.97 kB / 0.536 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.5439, allocations: 436.5 kB / 0.5364 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.5441, allocations: 42.66 kB / 0.5364 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.5442, allocations: 7.984 kB / 0.5365 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5442, allocations: 34.56 kB / 0.5365 GB, free: 2.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.5442, allocations: 0 / 0.5365 GB, free: 2.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00144/0.5457, allocations: 317.7 kB / 0.5368 GB, free: 2.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5457, allocations: 51.41 kB / 0.5368 GB, free: 2.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.5476, allocations: 0.7666 MB / 0.5376 GB, free: 1.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5477, allocations: 33.7 kB / 0.5376 GB, free: 1.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.548, allocations: 208 kB / 0.5378 GB, free: 1.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.548, allocations: 27.72 kB / 0.5378 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.548, allocations: 0 / 0.5378 GB, free: 1.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5482, allocations: 358.8 kB / 0.5382 GB, free: 0.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.5485, allocations: 47.97 kB / 0.5382 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5487, allocations: 43.97 kB / 0.5383 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.549, allocations: 77.86 kB / 0.5384 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.549, allocations: 0 / 0.5384 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006748/0.5497, allocations: 190.8 kB / 0.5385 GB, free: 472 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.5498, allocations: 36.83 kB / 0.5386 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5498, allocations: 0 / 0.5386 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5498, allocations: 3.984 kB / 0.5386 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.55, allocations: 23.98 kB / 0.5386 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.55, allocations: 3.938 kB / 0.5386 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.5502, allocations: 15.98 kB / 0.5386 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.5503, allocations: 4 kB / 0.5386 GB, free: 380 kB / 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 0.0003477/0.5506, allocations: 213.7 kB / 0.5388 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5508, allocations: 35.53 kB / 0.5389 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.5515, allocations: 185.3 kB / 0.539 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5515, allocations: 0 / 0.539 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5515, allocations: 3.984 kB / 0.539 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5515, allocations: 0 / 0.539 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.553, allocations: 0.6348 MB / 0.5397 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5531, allocations: 4 kB / 0.5397 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.5533, allocations: 27.92 kB / 0.5397 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5533, allocations: 7.984 kB / 0.5397 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5533, allocations: 0 / 0.5397 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5533, allocations: 0 / 0.5397 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5533, allocations: 0 / 0.5397 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.554, allocations: 266.9 kB / 0.5399 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.5543, allocations: 160.5 kB / 0.5401 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.5544, allocations: 0 / 0.5401 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.5546, allocations: 16 kB / 0.5401 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.5546, allocations: 7.984 kB / 0.5401 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5546, allocations: 0 / 0.5401 GB, free: 14.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.5558, allocations: 0.6276 MB / 0.5407 GB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5558, allocations: 0 / 0.5407 GB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.5563, allocations: 59.94 kB / 0.5408 GB, free: 14.03 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 (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.001754/0.5581, allocations: 0.977 MB / 0.5417 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.5587, allocations: 151.3 kB / 0.5419 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5587, allocations: 0 / 0.5419 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.559, allocations: 55.91 kB / 0.5419 GB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.5594, allocations: 17.97 kB / 0.542 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.5621, allocations: 1.351 MB / 0.5433 GB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.5627, allocations: 0.8332 MB / 0.5441 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.5629, allocations: 40.73 kB / 0.5441 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.5631, allocations: 107.4 kB / 0.5442 GB, free: 10.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5631, allocations: 0 / 0.5442 GB, free: 10.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.599, allocations: 6.077 MB / 0.5502 GB, free: 4.375 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.5993, allocations: 210.5 kB / 0.5504 GB, free: 4.133 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.11, allocations: 0 / 0.5504 GB, free: 4.133 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat