Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test5",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.009756/0.009756, allocations: 176.4 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.978/1.978, 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.002734/0.002734, allocations: 132.5 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.2493/0.2493, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004599, allocations: 12.48 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09695, allocations: 54.88 MB / 461.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.2446, allocations: 81.01 MB / 0.5294 GB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.2449, allocations: 75.89 kB / 0.5295 GB, free: 1.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3117/0.5567, allocations: 5.328 MB / 0.5347 GB, free: 82.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5568, allocations: 0.7031 kB / 0.5347 GB, free: 82.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.5568, allocations: 4.156 kB / 0.5347 GB, free: 82.45 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.0008709/0.5577, allocations: 0.6436 MB / 0.5354 GB, free: 81.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5578, allocations: 8.219 kB / 0.5354 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.5578, allocations: 36.88 kB / 0.5354 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.5579, allocations: 42.75 kB / 0.5354 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.5585, allocations: 317.5 kB / 0.5357 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.5585, allocations: 4.875 kB / 0.5357 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.5586, allocations: 6.5 kB / 0.5358 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.5588, allocations: 55.72 kB / 0.5358 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5589, allocations: 0 / 0.5358 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5589, allocations: 4.906 kB / 0.5358 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5589, allocations: 2.531 kB / 0.5358 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.5591, allocations: 28.95 kB / 0.5358 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.5599, allocations: 439 kB / 0.5363 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5602, allocations: 43.33 kB / 0.5363 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5602, allocations: 0.75 kB / 0.5363 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.5602, allocations: 36.06 kB / 0.5363 GB, free: 81.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 4.639e-06/0.5602, allocations: 1.734 kB / 0.5363 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009753/0.5612, allocations: 241.6 kB / 0.5366 GB, free: 81.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.5613, allocations: 53.06 kB / 0.5366 GB, free: 81.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.5633, allocations: 0.7755 MB / 0.5374 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.5633, allocations: 25.7 kB / 0.5374 GB, free: 80.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.5636, allocations: 212.7 kB / 0.5376 GB, free: 80.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.5636, allocations: 20.56 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.5636, allocations: 0 / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5637, allocations: 359.4 kB / 0.538 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.5639, allocations: 26.36 kB / 0.538 GB, free: 80.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.564, allocations: 26.14 kB / 0.538 GB, free: 80.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.5642, allocations: 53.38 kB / 0.5381 GB, free: 80.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5642, allocations: 3.953 kB / 0.5381 GB, free: 80.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004533/0.5647, allocations: 157.8 kB / 0.5382 GB, free: 80.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.5647, allocations: 31.81 kB / 0.5382 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5648, allocations: 0 / 0.5382 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.5648, allocations: 1.812 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.5649, allocations: 17.06 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5649, allocations: 5.344 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5651, allocations: 14.42 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.5651, allocations: 1.375 kB / 0.5383 GB, free: 80.31 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.0003205/0.5654, allocations: 207 kB / 0.5385 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5656, allocations: 42.64 kB / 0.5385 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.566, allocations: 144.3 kB / 0.5387 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5661, allocations: 0 / 0.5387 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5661, allocations: 0 / 0.5387 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.5661, allocations: 2.156 kB / 0.5387 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.5674, allocations: 0.5853 MB / 0.5392 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5674, allocations: 5.438 kB / 0.5392 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5675, allocations: 14.89 kB / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5676, allocations: 0 / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5676, allocations: 4.156 kB / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5676, allocations: 1.031 kB / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5676, allocations: 0 / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.5681, allocations: 231.6 kB / 0.5395 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.5683, allocations: 158 kB / 0.5396 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.5684, allocations: 2.094 kB / 0.5396 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.5686, allocations: 7.016 kB / 0.5396 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.5686, allocations: 3.969 kB / 0.5396 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.5686, allocations: 5.281 kB / 0.5397 GB, free: 79.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.57, allocations: 0.6266 MB / 0.5403 GB, free: 79.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.57, allocations: 0 / 0.5403 GB, free: 79.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.5705, allocations: 60.11 kB / 0.5403 GB, free: 79.44 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.001428/0.5719, allocations: 0.9503 MB / 0.5412 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.5723, allocations: 111.7 kB / 0.5414 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5723, allocations: 0 / 0.5414 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5725, allocations: 32.47 kB / 0.5414 GB, free: 78.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.5729, allocations: 17.61 kB / 0.5414 GB, free: 78.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.5755, allocations: 1.322 MB / 0.5427 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.576, allocations: 0.8214 MB / 0.5435 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.5762, allocations: 41.95 kB / 0.5435 GB, free: 77.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5765, allocations: 104.5 kB / 0.5436 GB, free: 77.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5765, allocations: 0 / 0.5436 GB, free: 77.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.6076, allocations: 5.984 MB / 0.5495 GB, free: 74.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.6079, allocations: 211.5 kB / 0.5497 GB, free: 74.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.088, allocations: 4 kB / 0.5497 GB, free: 74.68 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat