Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test20",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.009629/0.009629, allocations: 164.8 kB / 15.11 MB, free: 5.984 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.56/1.56, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.002663/0.002663, allocations: 111.3 kB / 226.2 MB, free: 10.1 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.418/0.418, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006261/0.0006262, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1143, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5248, allocations: 75.71 MB / 487.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.525, allocations: 67.97 kB / 487.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.5473, allocations: 6.128 MB / 493.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5473, allocations: 0 / 493.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.5474, allocations: 4 kB / 493.6 MB, free: 6.777 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007668/0.5482, allocations: 0.7278 MB / 494.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5482, allocations: 8.031 kB / 494.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.5483, allocations: 48.88 kB / 494.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.5484, allocations: 38.8 kB / 494.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.5488, allocations: 292.1 kB / 494.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.5489, allocations: 11.5 kB / 494.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.5489, allocations: 15.22 kB / 494.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.5492, allocations: 110.4 kB / 494.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5493, allocations: 5.031 kB / 494.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5493, allocations: 2.875 kB / 494.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5493, allocations: 7.984 kB / 494.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.5496, allocations: 80.84 kB / 494.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.5503, allocations: 474 kB / 495.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.5506, allocations: 98.67 kB / 495.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.5506, allocations: 4 kB / 495.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5506, allocations: 37.92 kB / 495.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.5506, allocations: 0 / 495.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001294/0.5519, allocations: 395.1 kB / 495.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.552, allocations: 51.41 kB / 496 MB, free: 4.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.5526, allocations: 427.2 kB / 496.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5526, allocations: 28.89 kB / 496.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5528, allocations: 187.5 kB / 496.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.5528, allocations: 50.83 kB / 496.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.5528, allocations: 2.938 kB / 496.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.5529, allocations: 349.2 kB / 497 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.5532, allocations: 66.27 kB / 497 MB, free: 3.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.5534, allocations: 69.09 kB / 497.1 MB, free: 3.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.5536, allocations: 214 kB / 497.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5537, allocations: 0 / 497.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006136/0.5543, allocations: 359.7 kB / 497.7 MB, free: 2.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.5544, allocations: 142.8 kB / 497.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5544, allocations: 4 kB / 497.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5544, allocations: 0 / 497.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.5547, allocations: 43.91 kB / 497.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5547, allocations: 0 / 497.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5548, allocations: 15.06 kB / 497.9 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.5548, allocations: 4 kB / 497.9 MB, free: 2.676 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.000185/0.555, allocations: 173 kB / 498.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.5551, allocations: 35.53 kB / 498.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.5558, allocations: 249.3 kB / 498.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5558, allocations: 4 kB / 498.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5559, allocations: 0 / 498.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5559, allocations: 0 / 498.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.557, allocations: 0.6496 MB / 499 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.557, allocations: 4 kB / 499 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.5572, allocations: 39.11 kB / 499 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5572, allocations: 0 / 499 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5573, allocations: 7.984 kB / 499 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5573, allocations: 3.953 kB / 499 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5573, allocations: 0 / 499 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.5578, allocations: 312.2 kB / 499.3 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.558, allocations: 120.2 kB / 499.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.558, allocations: 7.438 kB / 499.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5582, allocations: 11.98 kB / 499.5 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.5583, allocations: 19.88 kB / 499.5 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5583, allocations: 4 kB / 499.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004656/0.5588, allocations: 334.6 kB / 499.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5588, allocations: 4 kB / 499.8 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000465/0.5592, allocations: 94.8 kB / 499.9 MB, free: 0.8477 MB / 330.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 (17): * Single equations (assignments): 17 * 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.002332/0.5616, allocations: 1.336 MB / 0.4895 GB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.5624, allocations: 440.6 kB / 0.4899 GB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5624, allocations: 0 / 0.4899 GB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.5626, allocations: 78.66 kB / 0.49 GB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.5631, allocations: 35.42 kB / 0.49 GB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.5651, allocations: 0.9945 MB / 0.491 GB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.5656, allocations: 0.7892 MB / 0.4918 GB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.5658, allocations: 49.41 kB / 0.4918 GB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.566, allocations: 98.08 kB / 0.4919 GB, free: 13.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.725e-06/0.566, allocations: 4 kB / 0.4919 GB, free: 13.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.5989, allocations: 5.962 MB / 0.4977 GB, free: 7.297 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.5992, allocations: 211.7 kB / 0.498 GB, free: 7.055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.003, allocations: 0 / 0.498 GB, free: 7.055 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat