Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test2",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.009818/0.009818, allocations: 174.4 kB / 15.12 MB, free: 5.988 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.102/2.102, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002009/0.002008, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.3048/0.3048, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 12.5 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09935, allocations: 54.88 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.246, allocations: 81.05 MB / 0.5295 GB, free: 2.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.2463, allocations: 67.97 kB / 0.5295 GB, free: 1.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3027/0.549, allocations: 5.425 MB / 0.5348 GB, free: 82.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5491, allocations: 4 kB / 0.5349 GB, free: 82.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.5491, allocations: 5.75 kB / 0.5349 GB, free: 82.41 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.0008149/0.55, allocations: 0.6426 MB / 0.5355 GB, free: 81.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.55, allocations: 9.859 kB / 0.5355 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.5501, allocations: 36.73 kB / 0.5355 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/0.5502, allocations: 42.83 kB / 0.5356 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.5508, allocations: 311.5 kB / 0.5359 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5508, allocations: 1.344 kB / 0.5359 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.5509, allocations: 9 kB / 0.5359 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.5511, allocations: 56.2 kB / 0.5359 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5511, allocations: 1.062 kB / 0.5359 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5511, allocations: 0 / 0.5359 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5511, allocations: 2.516 kB / 0.5359 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.5513, allocations: 33.03 kB / 0.536 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.5521, allocations: 437.9 kB / 0.5364 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.5524, allocations: 43.77 kB / 0.5364 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5524, allocations: 3.938 kB / 0.5364 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5524, allocations: 32.72 kB / 0.5365 GB, free: 81.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.256e-06/0.5524, allocations: 4 kB / 0.5365 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009459/0.5534, allocations: 238.2 kB / 0.5367 GB, free: 81.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5535, allocations: 56.5 kB / 0.5367 GB, free: 80.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.5554, allocations: 0.772 MB / 0.5375 GB, free: 80.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5555, allocations: 25.7 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.5557, allocations: 217.5 kB / 0.5377 GB, free: 80.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.5557, allocations: 11.64 kB / 0.5377 GB, free: 80.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.5557, allocations: 4.781 kB / 0.5377 GB, free: 80.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5559, allocations: 357.6 kB / 0.5381 GB, free: 80.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.556, allocations: 28.19 kB / 0.5381 GB, free: 80.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.5562, allocations: 29.69 kB / 0.5381 GB, free: 80.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5563, allocations: 53.06 kB / 0.5382 GB, free: 80.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5564, allocations: 4.953 kB / 0.5382 GB, free: 80.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004549/0.5568, allocations: 160 kB / 0.5384 GB, free: 80.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.5569, allocations: 31.34 kB / 0.5384 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5569, allocations: 2.156 kB / 0.5384 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5569, allocations: 3.938 kB / 0.5384 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5571, allocations: 14.69 kB / 0.5384 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5571, allocations: 0.8906 kB / 0.5384 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5572, allocations: 11.72 kB / 0.5384 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5572, allocations: 1.344 kB / 0.5384 GB, free: 80.27 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 (6): * Single equations (assignments): 5 * 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.0003117/0.5576, allocations: 210.8 kB / 0.5386 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5577, allocations: 41.98 kB / 0.5387 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.5581, allocations: 145.4 kB / 0.5388 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5582, allocations: 1.406 kB / 0.5388 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5582, allocations: 6.797 kB / 0.5388 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5582, allocations: 0.75 kB / 0.5388 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5594, allocations: 0.5823 MB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5594, allocations: 6.688 kB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5596, allocations: 14.53 kB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.5596, allocations: 0 / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5596, allocations: 1.25 kB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5596, allocations: 0.6094 kB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5596, allocations: 1.125 kB / 0.5394 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.5601, allocations: 231.2 kB / 0.5396 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.5603, allocations: 153.6 kB / 0.5398 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.5604, allocations: 1.25 kB / 0.5398 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.5605, allocations: 7.938 kB / 0.5398 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.5606, allocations: 4.625 kB / 0.5398 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.5606, allocations: 5.062 kB / 0.5398 GB, free: 79.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.5618, allocations: 0.626 MB / 0.5404 GB, free: 79.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.5619, allocations: 0 / 0.5404 GB, free: 79.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.5624, allocations: 63.73 kB / 0.5405 GB, free: 79.4 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 (5): * Single equations (assignments): 5 * 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.001342/0.5637, allocations: 0.9505 MB / 0.5414 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.5641, allocations: 109.9 kB / 0.5415 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5641, allocations: 0 / 0.5415 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.5643, allocations: 33.52 kB / 0.5415 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.5647, allocations: 21.91 kB / 0.5415 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.5672, allocations: 1.318 MB / 0.5428 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5677, allocations: 0.8233 MB / 0.5436 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.5679, allocations: 47.83 kB / 0.5437 GB, free: 77.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.5681, allocations: 98.67 kB / 0.5438 GB, free: 77.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5681, allocations: 0 / 0.5438 GB, free: 77.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.6023, allocations: 5.982 MB / 0.5496 GB, free: 74.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.6027, allocations: 215.6 kB / 0.5498 GB, free: 74.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.199, allocations: 0 / 0.5498 GB, free: 74.58 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat