Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test12",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.01005/0.01005, allocations: 173.6 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 1.989/1.989, 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.002044/0.002044, allocations: 120.6 kB / 255.6 MB, free: 10.25 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.295/0.295, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 12.03 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.2517, allocations: 81.23 MB / 0.5296 GB, free: 1.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.252, allocations: 67.97 kB / 0.5297 GB, free: 1.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3393/0.5913, allocations: 3.466 MB / 0.5331 GB, free: 82.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5914, allocations: 0 / 0.5331 GB, free: 82.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.5914, allocations: 3.094 kB / 0.5331 GB, free: 82.25 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.00064/0.5921, allocations: 409 kB / 0.5335 GB, free: 81.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.5921, allocations: 13.44 kB / 0.5335 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.5922, allocations: 38.41 kB / 0.5335 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.5923, allocations: 8.812 kB / 0.5336 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.5925, allocations: 181.6 kB / 0.5337 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.5926, allocations: 3.188 kB / 0.5337 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5926, allocations: 4.703 kB / 0.5337 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.5929, allocations: 82.42 kB / 0.5338 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.593, allocations: 3.047 kB / 0.5338 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.593, allocations: 6.109 kB / 0.5338 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.593, allocations: 0 / 0.5338 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.5934, allocations: 44.56 kB / 0.5339 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.5939, allocations: 291.9 kB / 0.5341 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.5942, allocations: 48.36 kB / 0.5342 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.5942, allocations: 6.094 kB / 0.5342 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5942, allocations: 38.69 kB / 0.5342 GB, free: 81.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.5943, allocations: 0.8438 kB / 0.5342 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001605/0.5959, allocations: 229.9 kB / 0.5344 GB, free: 81.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5959, allocations: 80.89 kB / 0.5345 GB, free: 81.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.5961, allocations: 114.4 kB / 0.5346 GB, free: 80.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5961, allocations: 25.7 kB / 0.5347 GB, free: 80.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.5962, allocations: 96.45 kB / 0.5348 GB, free: 80.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.5963, allocations: 25.41 kB / 0.5348 GB, free: 80.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.5963, allocations: 0 / 0.5348 GB, free: 80.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.5964, allocations: 318.9 kB / 0.5351 GB, free: 80.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.5967, allocations: 49.78 kB / 0.5351 GB, free: 80.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.597, allocations: 53.28 kB / 0.5352 GB, free: 80.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.5973, allocations: 77.34 kB / 0.5353 GB, free: 80.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5973, allocations: 0 / 0.5353 GB, free: 80.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007134/0.5981, allocations: 162.8 kB / 0.5354 GB, free: 80.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.5981, allocations: 33.64 kB / 0.5354 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5982, allocations: 1.281 kB / 0.5354 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5982, allocations: 1.812 kB / 0.5354 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.5985, allocations: 26.81 kB / 0.5355 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5985, allocations: 0 / 0.5355 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.5987, allocations: 20.73 kB / 0.5355 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5987, allocations: 1.031 kB / 0.5355 GB, free: 80.36 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 (8): * Single equations (assignments): 7 * 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.0001182/0.5988, allocations: 117.6 kB / 0.5356 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.5989, allocations: 16.22 kB / 0.5356 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007199/0.5997, allocations: 138.8 kB / 0.5357 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5997, allocations: 1.125 kB / 0.5357 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.5997, allocations: 3.703 kB / 0.5358 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5997, allocations: 0 / 0.5358 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.6008, allocations: 402.9 kB / 0.5361 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6008, allocations: 0 / 0.5361 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.601, allocations: 31.3 kB / 0.5362 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.6011, allocations: 2.531 kB / 0.5362 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.6011, allocations: 1.906 kB / 0.5362 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6011, allocations: 0 / 0.5362 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6011, allocations: 3.625 kB / 0.5362 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.6018, allocations: 227.4 kB / 0.5364 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.6019, allocations: 83.05 kB / 0.5365 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6019, allocations: 2.766 kB / 0.5365 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.6022, allocations: 16.48 kB / 0.5365 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.6023, allocations: 10.75 kB / 0.5365 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.6023, allocations: 6.156 kB / 0.5365 GB, free: 79.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.6024, allocations: 91.97 kB / 0.5366 GB, free: 79.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6024, allocations: 0 / 0.5366 GB, free: 79.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006336/0.603, allocations: 38.06 kB / 0.5366 GB, free: 79.55 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 (7): * Single equations (assignments): 7 * 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.002282/0.6053, allocations: 1.043 MB / 0.5376 GB, free: 78.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.6061, allocations: 153.5 kB / 0.5378 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6061, allocations: 1.281 kB / 0.5378 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.6065, allocations: 52.47 kB / 0.5378 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.6068, allocations: 13.8 kB / 0.5379 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.6079, allocations: 400.2 kB / 0.5382 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.6081, allocations: 0.697 MB / 0.5389 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.6083, allocations: 16.25 kB / 0.5389 GB, free: 77.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.924e-05/0.6084, allocations: 21.44 kB / 0.539 GB, free: 77.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.895e-06/0.6084, allocations: 0 / 0.539 GB, free: 77.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.6483, allocations: 2.183 MB / 0.5411 GB, free: 77.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.6485, allocations: 209.7 kB / 0.5413 GB, free: 77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.166, allocations: 1.375 kB / 0.5413 GB, free: 77 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test12_res.mat does not exist to compare? outputFormat=mat