Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test30",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: 175.3 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.249/2.249, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.003718/0.003718, allocations: 116.6 kB / 255.6 MB, free: 11.2 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.3028/0.3028, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004709, allocations: 11.19 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.0998, allocations: 54.88 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.2506, allocations: 80.97 MB / 0.5294 GB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.251, allocations: 79.95 kB / 0.5295 GB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3049/0.5559, allocations: 3.029 MB / 0.5324 GB, free: 82.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.556, allocations: 0.9375 kB / 0.5324 GB, free: 82.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.556, allocations: 3.188 kB / 0.5324 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.0005212/0.5565, allocations: 439.2 kB / 0.5329 GB, free: 82.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5566, allocations: 9.344 kB / 0.5329 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.5567, allocations: 39.3 kB / 0.5329 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5567, allocations: 10.59 kB / 0.5329 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.5569, allocations: 192.7 kB / 0.5331 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.557, allocations: 7.672 kB / 0.5331 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.557, allocations: 3.125 kB / 0.5331 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.5573, allocations: 64.86 kB / 0.5332 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5573, allocations: 5.188 kB / 0.5332 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.5574, allocations: 4.828 kB / 0.5332 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5574, allocations: 3.453 kB / 0.5332 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.5576, allocations: 44.95 kB / 0.5332 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.5581, allocations: 295.2 kB / 0.5335 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.5583, allocations: 42.95 kB / 0.5336 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.5584, allocations: 8.859 kB / 0.5336 GB, free: 81.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.5584, allocations: 32.59 kB / 0.5336 GB, free: 81.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.5584, allocations: 1.219 kB / 0.5336 GB, free: 81.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001253/0.5597, allocations: 246.4 kB / 0.5338 GB, free: 81.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5597, allocations: 53.19 kB / 0.5339 GB, free: 81.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.56, allocations: 177.7 kB / 0.534 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.56, allocations: 29.17 kB / 0.5341 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.5601, allocations: 103.2 kB / 0.5342 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.5601, allocations: 26.05 kB / 0.5342 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5601, allocations: 3.188 kB / 0.5342 GB, free: 81.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5602, allocations: 319.5 kB / 0.5345 GB, free: 80.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.5605, allocations: 45.23 kB / 0.5345 GB, free: 80.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5607, allocations: 40.66 kB / 0.5346 GB, free: 80.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.5609, allocations: 72.77 kB / 0.5347 GB, free: 80.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.561, allocations: 0 / 0.5347 GB, free: 80.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005756/0.5616, allocations: 168.3 kB / 0.5348 GB, free: 80.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.5616, allocations: 32.62 kB / 0.5348 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5616, allocations: 0 / 0.5348 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.5617, allocations: 1.031 kB / 0.5349 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5619, allocations: 25.83 kB / 0.5349 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5619, allocations: 1.875 kB / 0.5349 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.562, allocations: 18.67 kB / 0.5349 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.562, allocations: 0 / 0.5349 GB, free: 80.59 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.0001162/0.5622, allocations: 130.4 kB / 0.535 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.5622, allocations: 13.5 kB / 0.535 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.5628, allocations: 150.9 kB / 0.5352 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5628, allocations: 0.75 kB / 0.5352 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5628, allocations: 0 / 0.5352 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5628, allocations: 0 / 0.5352 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.5637, allocations: 422.3 kB / 0.5356 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5637, allocations: 1.688 kB / 0.5356 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.5639, allocations: 26.23 kB / 0.5356 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.5639, allocations: 3.5 kB / 0.5356 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5639, allocations: 1.312 kB / 0.5356 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5639, allocations: 3.766 kB / 0.5356 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5639, allocations: 0 / 0.5356 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.5645, allocations: 236.7 kB / 0.5358 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.5646, allocations: 92.27 kB / 0.5359 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.5646, allocations: 4.047 kB / 0.5359 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5648, allocations: 14.78 kB / 0.5359 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.5648, allocations: 8.453 kB / 0.536 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5649, allocations: 2.406 kB / 0.536 GB, free: 79.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.5651, allocations: 143.1 kB / 0.5361 GB, free: 79.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5651, allocations: 0 / 0.5361 GB, free: 79.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.5654, allocations: 23.62 kB / 0.5361 GB, free: 79.8 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.001456/0.5669, allocations: 0.9564 MB / 0.537 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.5675, allocations: 156.6 kB / 0.5372 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5675, allocations: 0 / 0.5372 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.5677, allocations: 54.7 kB / 0.5373 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.568, allocations: 10.94 kB / 0.5373 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.569, allocations: 473.2 kB / 0.5377 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.5692, allocations: 0.711 MB / 0.5384 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.839e-05/0.5693, allocations: 12.16 kB / 0.5384 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.5694, allocations: 26.25 kB / 0.5384 GB, free: 77.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5694, allocations: 0 / 0.5384 GB, free: 77.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.5908, allocations: 2.218 MB / 0.5406 GB, free: 77.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.5912, allocations: 212.6 kB / 0.5408 GB, free: 77.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.175, allocations: 0 / 0.5408 GB, free: 77.33 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat