Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test17",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.009975/0.009975, allocations: 175.9 kB / 15.12 MB, free: 5.934 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 2.02/2.02, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.003161/0.003161, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.2592/0.2592, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007562/0.0007561, allocations: 13.62 kB / 406.3 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1277, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.2809, allocations: 81.52 MB / 0.5299 GB, free: 1.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.2812, allocations: 79.94 kB / 0.53 GB, free: 1.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3098/0.591, allocations: 2.824 MB / 0.5328 GB, free: 82.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5911, allocations: 0 / 0.5328 GB, free: 82.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.5911, allocations: 6 kB / 0.5328 GB, free: 82.82 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003539/0.5915, allocations: 375.5 kB / 0.5331 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5915, allocations: 9.781 kB / 0.5332 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.5916, allocations: 41.88 kB / 0.5332 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.5916, allocations: 11.81 kB / 0.5332 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.5918, allocations: 169.3 kB / 0.5334 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5918, allocations: 5.812 kB / 0.5334 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5918, allocations: 4.5 kB / 0.5334 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.5921, allocations: 190.5 kB / 0.5336 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5921, allocations: 2.141 kB / 0.5336 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5921, allocations: 10.73 kB / 0.5336 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.5922, allocations: 11.64 kB / 0.5336 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.5923, allocations: 56.83 kB / 0.5336 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.5931, allocations: 1.704 MB / 0.5353 GB, free: 80.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.5932, allocations: 168.7 kB / 0.5355 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.5932, allocations: 79.28 kB / 0.5355 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5933, allocations: 107.7 kB / 0.5356 GB, free: 79.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.5933, allocations: 0 / 0.5356 GB, free: 79.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.634e-05/0.5934, allocations: 42.69 kB / 0.5357 GB, free: 79.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5934, allocations: 130.3 kB / 0.5358 GB, free: 79.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.5937, allocations: 170.3 kB / 0.536 GB, free: 79.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.5937, allocations: 29.7 kB / 0.536 GB, free: 79.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.5938, allocations: 146.5 kB / 0.5361 GB, free: 79.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.5938, allocations: 1.906 kB / 0.5361 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.5938, allocations: 4.938 kB / 0.5361 GB, free: 79.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.5939, allocations: 321.2 kB / 0.5364 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.594, allocations: 28.86 kB / 0.5365 GB, free: 79.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.5941, allocations: 156.6 kB / 0.5366 GB, free: 79.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.5943, allocations: 71.56 kB / 0.5367 GB, free: 79.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5943, allocations: 1.344 kB / 0.5367 GB, free: 79.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004152/0.5947, allocations: 198.5 kB / 0.5369 GB, free: 78.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5947, allocations: 10.66 kB / 0.5369 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5948, allocations: 5.375 kB / 0.5369 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5948, allocations: 6.969 kB / 0.5369 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.595, allocations: 40.17 kB / 0.5369 GB, free: 78.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.595, allocations: 11.42 kB / 0.537 GB, free: 78.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5952, allocations: 22.56 kB / 0.537 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.5952, allocations: 9.594 kB / 0.537 GB, free: 78.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001116/0.5953, allocations: 216.2 kB / 0.5372 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.5954, allocations: 116.8 kB / 0.5373 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.5955, allocations: 117 kB / 0.5374 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.5955, allocations: 180.5 kB / 0.5376 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-05/0.5955, allocations: 180.1 kB / 0.5378 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/0.5956, allocations: 180.8 kB / 0.5379 GB, free: 77.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.5958, allocations: 431.2 kB / 0.5383 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.5958, allocations: 105.7 kB / 0.5384 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.5959, allocations: 101.7 kB / 0.5385 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-05/0.5959, allocations: 181 kB / 0.5387 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.596, allocations: 184.4 kB / 0.5389 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-05/0.596, allocations: 181 kB / 0.5391 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.545e-05/0.596, allocations: 187.1 kB / 0.5392 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.088e-05/0.5961, allocations: 309.2 kB / 0.5395 GB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.5962, allocations: 186.4 kB / 0.5397 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.5963, allocations: 189.6 kB / 0.5399 GB, free: 75.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.5964, allocations: 108.8 kB / 0.54 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.5964, allocations: 176.3 kB / 0.5402 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5965, allocations: 108 kB / 0.5403 GB, free: 75.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.5966, allocations: 129 kB / 0.5404 GB, free: 75.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5966, allocations: 0 / 0.5404 GB, free: 75.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000389/0.597, allocations: 13.91 kB / 0.5404 GB, free: 75.41 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 (0): * Single equations (assignments): 0 * 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.0007541/0.5978, allocations: 0.9153 MB / 0.5413 GB, free: 74.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.598, allocations: 82 kB / 0.5414 GB, free: 74.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.598, allocations: 0.9375 kB / 0.5414 GB, free: 74.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.598, allocations: 0 / 0.5414 GB, free: 74.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5983, allocations: 0.5336 MB / 0.5419 GB, free: 74.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.5999, allocations: 3.637 MB / 0.5454 GB, free: 70.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.6001, allocations: 0.7033 MB / 0.5461 GB, free: 69.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.6004, allocations: 46.67 kB / 0.5462 GB, free: 69.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.6004, allocations: 27.23 kB / 0.5462 GB, free: 69.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6005, allocations: 0 / 0.5462 GB, free: 69.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.6278, allocations: 1.947 MB / 0.5481 GB, free: 69.54 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/0.6282, allocations: 213.3 kB / 0.5483 GB, free: 69.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.12, allocations: 0 / 0.5483 GB, free: 69.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test17_res.mat does not exist to compare? outputFormat=mat