Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test8",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.01037/0.01037, allocations: 176.1 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 1.984/1.984, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001969/0.001969, allocations: 108.7 kB / 255.6 MB, free: 11.21 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.273/0.273, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007299/0.0007303, allocations: 11.25 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.115, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.2602, allocations: 80.94 MB / 0.5294 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.2605, allocations: 71.97 kB / 0.5294 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2988/0.5594, allocations: 2.768 MB / 0.5321 GB, free: 82.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5594, allocations: 1.812 kB / 0.5322 GB, free: 82.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5594, allocations: 1.281 kB / 0.5322 GB, free: 82.48 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.0004365/0.5599, allocations: 410.1 kB / 0.5325 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5599, allocations: 10.5 kB / 0.5326 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.56, allocations: 35.45 kB / 0.5326 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.56, allocations: 13.33 kB / 0.5326 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.5602, allocations: 189 kB / 0.5328 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5602, allocations: 1.469 kB / 0.5328 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.5603, allocations: 1.406 kB / 0.5328 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.5605, allocations: 54.48 kB / 0.5328 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5605, allocations: 0 / 0.5328 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5605, allocations: 3.281 kB / 0.5328 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5605, allocations: 3.953 kB / 0.5328 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.5607, allocations: 32.8 kB / 0.5329 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.5611, allocations: 281.8 kB / 0.5331 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.5613, allocations: 49.89 kB / 0.5332 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5614, allocations: 1.781 kB / 0.5332 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.5614, allocations: 38.7 kB / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5614, allocations: 0 / 0.5332 GB, free: 81.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007865/0.5622, allocations: 172.8 kB / 0.5334 GB, free: 81.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.5622, allocations: 53.44 kB / 0.5334 GB, free: 81.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.5624, allocations: 129.2 kB / 0.5336 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.5624, allocations: 30.33 kB / 0.5336 GB, free: 81.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.5625, allocations: 93.36 kB / 0.5337 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.5625, allocations: 16.25 kB / 0.5337 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.5625, allocations: 0.875 kB / 0.5337 GB, free: 81.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.5626, allocations: 318.8 kB / 0.534 GB, free: 80.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.5627, allocations: 26.38 kB / 0.534 GB, free: 80.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.5629, allocations: 32.73 kB / 0.5341 GB, free: 80.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.563, allocations: 56.98 kB / 0.5341 GB, free: 80.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.563, allocations: 1.375 kB / 0.5341 GB, free: 80.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003322/0.5634, allocations: 130.2 kB / 0.5342 GB, free: 80.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.5634, allocations: 31.7 kB / 0.5343 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5634, allocations: 3.953 kB / 0.5343 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.5635, allocations: 0 / 0.5343 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.5636, allocations: 16.48 kB / 0.5343 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5636, allocations: 0 / 0.5343 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.5637, allocations: 8.516 kB / 0.5343 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5637, allocations: 2.125 kB / 0.5343 GB, free: 80.69 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 7.884e-05/0.5638, allocations: 124.8 kB / 0.5344 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.5638, allocations: 7.375 kB / 0.5344 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.5642, allocations: 113.1 kB / 0.5345 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5642, allocations: 4.984 kB / 0.5345 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5642, allocations: 0.875 kB / 0.5345 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5643, allocations: 5.641 kB / 0.5345 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.5648, allocations: 355.9 kB / 0.5349 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5648, allocations: 3.391 kB / 0.5349 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5649, allocations: 19.61 kB / 0.5349 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.565, allocations: 5.266 kB / 0.5349 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.565, allocations: 4 kB / 0.5349 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.565, allocations: 1.312 kB / 0.5349 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.565, allocations: 0 / 0.5349 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.5654, allocations: 190.9 kB / 0.5351 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.5654, allocations: 90.78 kB / 0.5352 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5655, allocations: 4.984 kB / 0.5352 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.5656, allocations: 6.609 kB / 0.5352 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.5656, allocations: 4.281 kB / 0.5352 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.5656, allocations: 1.188 kB / 0.5352 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.5657, allocations: 112.6 kB / 0.5353 GB, free: 79.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5658, allocations: 0 / 0.5353 GB, free: 79.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.5661, allocations: 19.12 kB / 0.5353 GB, free: 79.9 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.001184/0.5673, allocations: 0.9087 MB / 0.5362 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.5676, allocations: 121.4 kB / 0.5363 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5677, allocations: 0 / 0.5363 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5678, allocations: 33.44 kB / 0.5364 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5681, allocations: 14.28 kB / 0.5364 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.5687, allocations: 412.8 kB / 0.5368 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.5689, allocations: 0.6947 MB / 0.5374 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.569e-05/0.569, allocations: 13.83 kB / 0.5375 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.5691, allocations: 26.31 kB / 0.5375 GB, free: 78.04 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5691, allocations: 2.594 kB / 0.5375 GB, free: 78.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.5893, allocations: 1.837 MB / 0.5393 GB, free: 77.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.5896, allocations: 203.9 kB / 0.5395 GB, free: 77.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.86, allocations: 1.156 kB / 0.5395 GB, free: 77.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test8_res.mat does not exist to compare? outputFormat=mat