Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test4",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.01284/0.01284, allocations: 176.1 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.999/1.999, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002015/0.002015, allocations: 112.7 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.2492/0.2492, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 15.92 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 54.88 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.2794, allocations: 81.01 MB / 0.5294 GB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.2797, allocations: 67.97 kB / 0.5295 GB, free: 2.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3036/0.5834, allocations: 5.338 MB / 0.5347 GB, free: 82.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5835, allocations: 0 / 0.5347 GB, free: 82.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.5835, allocations: 5.125 kB / 0.5347 GB, free: 82.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009642/0.5845, allocations: 0.6395 MB / 0.5353 GB, free: 81.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.5846, allocations: 9.422 kB / 0.5354 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.5846, allocations: 33.14 kB / 0.5354 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.5847, allocations: 42.83 kB / 0.5354 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.5853, allocations: 318.1 kB / 0.5357 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5854, allocations: 5.5 kB / 0.5357 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.5854, allocations: 5.219 kB / 0.5357 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.5856, allocations: 60.86 kB / 0.5358 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5856, allocations: 4.594 kB / 0.5358 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5857, allocations: 5.641 kB / 0.5358 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5857, allocations: 1.062 kB / 0.5358 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.5858, allocations: 26.55 kB / 0.5358 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.5866, allocations: 438.2 kB / 0.5363 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5869, allocations: 45.06 kB / 0.5363 GB, free: 80.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.587, allocations: 1.125 kB / 0.5363 GB, free: 80.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.587, allocations: 36.42 kB / 0.5363 GB, free: 80.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.587, allocations: 7.109 kB / 0.5363 GB, free: 80.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009621/0.588, allocations: 233.5 kB / 0.5366 GB, free: 80.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.588, allocations: 52.5 kB / 0.5366 GB, free: 80.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.59, allocations: 0.7757 MB / 0.5374 GB, free: 80.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.5901, allocations: 25.7 kB / 0.5374 GB, free: 80.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.5903, allocations: 211.5 kB / 0.5376 GB, free: 80.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.5904, allocations: 20.64 kB / 0.5376 GB, free: 80.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.5904, allocations: 0 / 0.5376 GB, free: 80.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5905, allocations: 358.8 kB / 0.538 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.5907, allocations: 29.75 kB / 0.538 GB, free: 80.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.5908, allocations: 23.95 kB / 0.538 GB, free: 80.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.591, allocations: 51.77 kB / 0.5381 GB, free: 80.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.591, allocations: 3.953 kB / 0.5381 GB, free: 80.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000467/0.5915, allocations: 161 kB / 0.5382 GB, free: 80.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.5915, allocations: 32.28 kB / 0.5382 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5915, allocations: 0 / 0.5382 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.5916, allocations: 1.859 kB / 0.5382 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5917, allocations: 17.52 kB / 0.5383 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5917, allocations: 2.219 kB / 0.5383 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.5919, allocations: 9.969 kB / 0.5383 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5919, allocations: 5.938 kB / 0.5383 GB, free: 79.99 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 (6): * Single equations (assignments): 5 * 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.0003028/0.5922, allocations: 210.8 kB / 0.5385 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5923, allocations: 41.58 kB / 0.5385 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.5928, allocations: 140.6 kB / 0.5387 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5928, allocations: 1.656 kB / 0.5387 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5928, allocations: 0 / 0.5387 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5928, allocations: 1.391 kB / 0.5387 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5941, allocations: 0.5874 MB / 0.5392 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.5941, allocations: 2.672 kB / 0.5392 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5942, allocations: 14.19 kB / 0.5393 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5942, allocations: 1.031 kB / 0.5393 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.5943, allocations: 5.281 kB / 0.5393 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5943, allocations: 0 / 0.5393 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5943, allocations: 1.781 kB / 0.5393 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.5947, allocations: 229.6 kB / 0.5395 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.595, allocations: 157.3 kB / 0.5396 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.5951, allocations: 2.281 kB / 0.5396 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.5952, allocations: 7.438 kB / 0.5396 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.5953, allocations: 6.609 kB / 0.5396 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5953, allocations: 1.812 kB / 0.5396 GB, free: 79.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.5966, allocations: 0.6272 MB / 0.5403 GB, free: 79.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5966, allocations: 5.156 kB / 0.5403 GB, free: 79.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.5971, allocations: 60.92 kB / 0.5403 GB, free: 79.12 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 (5): * Single equations (assignments): 5 * 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.001375/0.5985, allocations: 0.9439 MB / 0.5412 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.5989, allocations: 111.2 kB / 0.5413 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5989, allocations: 0.9688 kB / 0.5413 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.599, allocations: 26.69 kB / 0.5414 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.5994, allocations: 23 kB / 0.5414 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6019, allocations: 1.321 MB / 0.5427 GB, free: 77.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.6024, allocations: 0.8279 MB / 0.5435 GB, free: 76.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.6025, allocations: 42.52 kB / 0.5435 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.6028, allocations: 97.06 kB / 0.5436 GB, free: 76.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6028, allocations: 0 / 0.5436 GB, free: 76.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.6385, allocations: 5.99 MB / 0.5495 GB, free: 74.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.6388, allocations: 209.1 kB / 0.5497 GB, free: 74.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.235, allocations: 0 / 0.5497 GB, free: 74.36 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat