Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test9",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.01344/0.01344, allocations: 174.2 kB / 15.12 MB, free: 5.984 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.942/1.942, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001951/0.001951, allocations: 108.7 kB / 255.6 MB, free: 10.24 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.2485/0.2485, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004695, allocations: 16.97 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.0963, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.2446, allocations: 80.81 MB / 0.5292 GB, free: 2.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.2449, allocations: 71.97 kB / 0.5293 GB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3311/0.5761, allocations: 5.258 MB / 0.5345 GB, free: 82.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5761, allocations: 0 / 0.5345 GB, free: 82.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.5762, allocations: 3.719 kB / 0.5345 GB, free: 82.08 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.0008383/0.577, allocations: 0.6486 MB / 0.5351 GB, free: 81.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5771, allocations: 9.75 kB / 0.5351 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.5771, allocations: 32.06 kB / 0.5351 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.5772, allocations: 42.28 kB / 0.5352 GB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.5778, allocations: 310.4 kB / 0.5355 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5778, allocations: 2.594 kB / 0.5355 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5779, allocations: 2.797 kB / 0.5355 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.5781, allocations: 62.05 kB / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.5781, allocations: 0 / 0.5355 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5782, allocations: 5.391 kB / 0.5355 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5782, allocations: 0 / 0.5355 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.5784, allocations: 42.14 kB / 0.5356 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.5792, allocations: 421.8 kB / 0.536 GB, free: 80.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.5794, allocations: 43.62 kB / 0.536 GB, free: 80.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.5794, allocations: 6.203 kB / 0.536 GB, free: 80.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5794, allocations: 31.94 kB / 0.5361 GB, free: 80.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.5794, allocations: 7.938 kB / 0.5361 GB, free: 80.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005395/0.58, allocations: 125.1 kB / 0.5362 GB, free: 80.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.58, allocations: 53.36 kB / 0.5362 GB, free: 80.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5819, allocations: 0.7678 MB / 0.537 GB, free: 80.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.582, allocations: 27.61 kB / 0.537 GB, free: 80.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.5822, allocations: 211.7 kB / 0.5372 GB, free: 80.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.5823, allocations: 10.94 kB / 0.5372 GB, free: 80.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.5823, allocations: 3.25 kB / 0.5372 GB, free: 80.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5824, allocations: 356.8 kB / 0.5376 GB, free: 80.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5826, allocations: 20.86 kB / 0.5376 GB, free: 80.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.5827, allocations: 22.28 kB / 0.5376 GB, free: 80.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.5828, allocations: 47.59 kB / 0.5377 GB, free: 80.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5829, allocations: 4.875 kB / 0.5377 GB, free: 80.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004284/0.5833, allocations: 140.7 kB / 0.5378 GB, free: 80.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.5833, allocations: 39.81 kB / 0.5378 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5834, allocations: 0 / 0.5378 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5834, allocations: 0.6094 kB / 0.5378 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5835, allocations: 16.05 kB / 0.5378 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5835, allocations: 3.812 kB / 0.5378 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.5837, allocations: 6.719 kB / 0.5379 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5837, allocations: 2.812 kB / 0.5379 GB, free: 80.01 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 (4): * Single equations (assignments): 3 * 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.0003069/0.584, allocations: 213.6 kB / 0.5381 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5842, allocations: 42.33 kB / 0.5381 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.5846, allocations: 135.2 kB / 0.5382 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5846, allocations: 1.594 kB / 0.5382 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5846, allocations: 0 / 0.5382 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5846, allocations: 4.609 kB / 0.5382 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.5851, allocations: 317.6 kB / 0.5385 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5851, allocations: 0 / 0.5385 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5852, allocations: 14.02 kB / 0.5386 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5853, allocations: 0 / 0.5386 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.5853, allocations: 1.469 kB / 0.5386 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5853, allocations: 3.953 kB / 0.5386 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5853, allocations: 0.5625 kB / 0.5386 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.5857, allocations: 212.6 kB / 0.5388 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.586, allocations: 158.7 kB / 0.5389 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.5861, allocations: 1.969 kB / 0.5389 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.5862, allocations: 11.98 kB / 0.5389 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.5863, allocations: 9.969 kB / 0.5389 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.5863, allocations: 1.406 kB / 0.5389 GB, free: 79.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.5875, allocations: 0.6242 MB / 0.5395 GB, free: 79.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5875, allocations: 0 / 0.5395 GB, free: 79.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000424/0.5879, allocations: 50.67 kB / 0.5396 GB, free: 79.24 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 (3): * Single equations (assignments): 3 * 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.001164/0.5891, allocations: 0.8754 MB / 0.5404 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.5894, allocations: 106.8 kB / 0.5405 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5894, allocations: 0 / 0.5405 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.5896, allocations: 20.19 kB / 0.5406 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.59, allocations: 20.8 kB / 0.5406 GB, free: 78.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5924, allocations: 1.302 MB / 0.5419 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.5929, allocations: 0.824 MB / 0.5427 GB, free: 77.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.593, allocations: 31.39 kB / 0.5427 GB, free: 77.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.5933, allocations: 110.1 kB / 0.5428 GB, free: 77.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5933, allocations: 0 / 0.5428 GB, free: 77.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.6252, allocations: 5.763 MB / 0.5484 GB, free: 74.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.6254, allocations: 211.7 kB / 0.5486 GB, free: 74.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.195, allocations: 0.5 kB / 0.5486 GB, free: 74.74 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat