Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test6",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.01378/0.01378, allocations: 175.5 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.997/1.997, allocations: 194.5 MB / 210.3 MB, free: 8.578 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.001968/0.001968, allocations: 116.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.3/0.3, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 14.31 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09985, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.2492, allocations: 81.1 MB / 0.5295 GB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.2496, allocations: 71.95 kB / 0.5296 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.5574, allocations: 3.471 MB / 0.533 GB, free: 82.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5575, allocations: 0 / 0.533 GB, free: 82.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.5575, allocations: 2.375 kB / 0.533 GB, free: 82.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005243/0.5581, allocations: 439.3 kB / 0.5334 GB, free: 82.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5581, allocations: 13.53 kB / 0.5334 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.5582, allocations: 38.59 kB / 0.5335 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.5582, allocations: 19.08 kB / 0.5335 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.5585, allocations: 201.5 kB / 0.5337 GB, free: 81.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5585, allocations: 3.844 kB / 0.5337 GB, free: 81.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.5586, allocations: 4.422 kB / 0.5337 GB, free: 81.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.5588, allocations: 83 kB / 0.5338 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5589, allocations: 5.156 kB / 0.5338 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5589, allocations: 1.188 kB / 0.5338 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.5589, allocations: 5.641 kB / 0.5338 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5591, allocations: 45.95 kB / 0.5338 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.5597, allocations: 403.9 kB / 0.5342 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.5601, allocations: 91.02 kB / 0.5343 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.5602, allocations: 5.578 kB / 0.5343 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5602, allocations: 35.7 kB / 0.5343 GB, free: 81.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.5602, allocations: 0.6562 kB / 0.5343 GB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001097/0.5613, allocations: 264.3 kB / 0.5346 GB, free: 81.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5614, allocations: 77.11 kB / 0.5346 GB, free: 81.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.5616, allocations: 197.6 kB / 0.5348 GB, free: 81.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5617, allocations: 32.52 kB / 0.5349 GB, free: 80.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.5617, allocations: 100.5 kB / 0.535 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.5618, allocations: 41.61 kB / 0.535 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.5618, allocations: 0 / 0.535 GB, free: 80.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.5619, allocations: 319.3 kB / 0.5353 GB, free: 80.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.562, allocations: 40.92 kB / 0.5353 GB, free: 80.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.5622, allocations: 47.22 kB / 0.5354 GB, free: 80.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.5624, allocations: 68.17 kB / 0.5355 GB, free: 80.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5624, allocations: 0 / 0.5355 GB, free: 80.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004327/0.5629, allocations: 174.3 kB / 0.5356 GB, free: 80.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.5629, allocations: 32.98 kB / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5629, allocations: 2.953 kB / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.563, allocations: 0 / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5631, allocations: 18.83 kB / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5632, allocations: 4.609 kB / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.5632, allocations: 6.438 kB / 0.5357 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.5633, allocations: 3.797 kB / 0.5357 GB, free: 80.42 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 (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.0001227/0.5634, allocations: 146.5 kB / 0.5358 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.5635, allocations: 14.05 kB / 0.5358 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.5641, allocations: 163.6 kB / 0.536 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5641, allocations: 3.281 kB / 0.536 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5641, allocations: 7.062 kB / 0.536 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5641, allocations: 3.562 kB / 0.536 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.5651, allocations: 0.5233 MB / 0.5365 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5651, allocations: 4.031 kB / 0.5365 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.5653, allocations: 26.19 kB / 0.5365 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.5653, allocations: 1.125 kB / 0.5366 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5653, allocations: 2.812 kB / 0.5366 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5653, allocations: 1.797 kB / 0.5366 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5653, allocations: 1.156 kB / 0.5366 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.5658, allocations: 340 kB / 0.5369 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.5659, allocations: 92.02 kB / 0.537 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.566, allocations: 3.766 kB / 0.537 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5661, allocations: 14.61 kB / 0.537 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.5662, allocations: 7.422 kB / 0.537 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5662, allocations: 3.281 kB / 0.537 GB, free: 79.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.5664, allocations: 167.7 kB / 0.5372 GB, free: 79.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5665, allocations: 0 / 0.5372 GB, free: 79.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.5669, allocations: 28.03 kB / 0.5372 GB, free: 79.4 MB / 378.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.001476/0.5684, allocations: 1.205 MB / 0.5384 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.5689, allocations: 149.2 kB / 0.5385 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5689, allocations: 0 / 0.5385 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.5691, allocations: 51.34 kB / 0.5386 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.5694, allocations: 17.03 kB / 0.5386 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5706, allocations: 0.5518 MB / 0.5391 GB, free: 77.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.5708, allocations: 0.7154 MB / 0.5398 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.571, allocations: 23.62 kB / 0.5398 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5711, allocations: 36.48 kB / 0.5399 GB, free: 77.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5711, allocations: 0 / 0.5399 GB, free: 77.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.5979, allocations: 2.538 MB / 0.5423 GB, free: 76.84 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.5982, allocations: 215.4 kB / 0.5425 GB, free: 76.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.906, allocations: 0 / 0.5425 GB, free: 76.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test6_res.mat does not exist to compare? outputFormat=mat