Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test4.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009798/0.009798, allocations: 167.1 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.795/1.795, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002029/0.002029, allocations: 99.39 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4828/0.4828, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004927, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5313, allocations: 74.62 MB / 486.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.5317, allocations: 69.97 kB / 486.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02019/0.5519, allocations: 3.312 MB / 489.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.552, allocations: 4 kB / 489.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.552, allocations: 4 kB / 489.7 MB, free: 10.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006598/0.5527, allocations: 442.4 kB / 490.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.5528, allocations: 8.031 kB / 490.1 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.5529, allocations: 38.36 kB / 490.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.5529, allocations: 15.81 kB / 490.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.5533, allocations: 207.7 kB / 490.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5533, allocations: 7.938 kB / 490.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.5534, allocations: 4 kB / 490.4 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.5537, allocations: 79.08 kB / 490.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.5538, allocations: 0 / 490.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5538, allocations: 0 / 490.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5538, allocations: 0 / 490.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.5541, allocations: 43.53 kB / 490.5 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.5549, allocations: 408.6 kB / 490.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.5555, allocations: 92.84 kB / 491 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.5555, allocations: 4 kB / 491 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5556, allocations: 34.5 kB / 491.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.888e-06/0.5556, allocations: 0 / 491.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001641/0.5573, allocations: 265.1 kB / 491.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5573, allocations: 85.06 kB / 491.4 MB, free: 8.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.5578, allocations: 206.2 kB / 491.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.5578, allocations: 25.7 kB / 491.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.5579, allocations: 107.5 kB / 491.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.558, allocations: 36.11 kB / 491.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.558, allocations: 0 / 491.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.5581, allocations: 326.7 kB / 492.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.5584, allocations: 39.47 kB / 492.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.5586, allocations: 43.47 kB / 492.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.5589, allocations: 70.12 kB / 492.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.559, allocations: 0 / 492.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006981/0.5597, allocations: 163.4 kB / 492.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.5598, allocations: 36.52 kB / 492.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.5598, allocations: 4 kB / 492.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5598, allocations: 0 / 492.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.5601, allocations: 23.98 kB / 492.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5601, allocations: 3.938 kB / 492.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.5603, allocations: 11.39 kB / 492.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.5603, allocations: 4 kB / 492.5 MB, free: 7.465 MB / 330.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): 10 * 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.0001961/0.5606, allocations: 131.2 kB / 492.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5607, allocations: 15.91 kB / 492.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.5615, allocations: 164.6 kB / 492.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5615, allocations: 0.625 kB / 492.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5615, allocations: 4 kB / 492.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5616, allocations: 0 / 492.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.563, allocations: 0.5272 MB / 493.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.563, allocations: 4.062 kB / 493.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.5633, allocations: 35.45 kB / 493.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.5633, allocations: 0 / 493.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.5634, allocations: 0 / 493.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.5634, allocations: 7.953 kB / 493.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5634, allocations: 0 / 493.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.5641, allocations: 338 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.5642, allocations: 92.97 kB / 493.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.5643, allocations: 7.359 kB / 493.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.5645, allocations: 8 kB / 493.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.5646, allocations: 17.42 kB / 493.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.5647, allocations: 7.75 kB / 493.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.5649, allocations: 153.7 kB / 494 MB, free: 5.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.565, allocations: 4 kB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006509/0.5656, allocations: 27.36 kB / 494 MB, free: 5.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001751/0.5674, allocations: 1.143 MB / 495.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.5681, allocations: 149.3 kB / 495.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5681, allocations: 3.938 kB / 495.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.5684, allocations: 50.59 kB / 495.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.5689, allocations: 7.688 kB / 495.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5705, allocations: 0.5545 MB / 495.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.5708, allocations: 0.7229 MB / 496.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.571, allocations: 32.62 kB / 496.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.5711, allocations: 39.42 kB / 496.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5712, allocations: 0 / 496.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.5965, allocations: 2.532 MB / 499.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.5969, allocations: 210.5 kB / 499.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/2.988, allocations: 0 / 499.4 MB, free: 0.6094 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat