Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01259/0.01259, allocations: 165.9 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.701/1.701, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00198/0.00198, allocations: 111.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.439/0.439, allocations: 38.05 MB / 303.7 MB, free: 42.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006134/0.0006132, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5345, allocations: 75.87 MB / 487.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5348, allocations: 75.78 kB / 487.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.5521, allocations: 4.344 MB / 492 MB, free: 7.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5521, allocations: 0 / 492 MB, free: 7.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.5522, allocations: 3.984 kB / 492 MB, free: 7.801 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005058/0.5527, allocations: 459.1 kB / 492.4 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5528, allocations: 11.97 kB / 492.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.5528, allocations: 30.56 kB / 492.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.5529, allocations: 19.02 kB / 492.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5531, allocations: 205.6 kB / 492.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.5531, allocations: 0 / 492.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.5532, allocations: 7.25 kB / 492.7 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5533, allocations: 45.23 kB / 492.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5533, allocations: 0 / 492.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5534, allocations: 8 kB / 492.8 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5534, allocations: 0 / 492.8 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.5534, allocations: 20.33 kB / 492.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.5539, allocations: 305 kB / 493.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.5541, allocations: 49.55 kB / 493.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5541, allocations: 0 / 493.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.5543, allocations: 62.48 kB / 493.2 MB, free: 6.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.5543, allocations: 3.75 kB / 493.2 MB, free: 6.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000489/0.5548, allocations: 124.6 kB / 493.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.5548, allocations: 51.41 kB / 493.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.5552, allocations: 237 kB / 493.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.5552, allocations: 28.89 kB / 493.6 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.5553, allocations: 113.3 kB / 493.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.5553, allocations: 11.34 kB / 493.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.5553, allocations: 4 kB / 493.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.5554, allocations: 322 kB / 494.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.5555, allocations: 25.42 kB / 494.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.5556, allocations: 22.3 kB / 494.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.904e-05/0.5557, allocations: 54.77 kB / 494.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5557, allocations: 0 / 494.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002501/0.5559, allocations: 133.9 kB / 494.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.556, allocations: 36.45 kB / 494.3 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.556, allocations: 0 / 494.3 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.556, allocations: 4 kB / 494.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.5561, allocations: 11.98 kB / 494.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5561, allocations: 0 / 494.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.5562, allocations: 8.062 kB / 494.3 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.5562, allocations: 7.953 kB / 494.4 MB, free: 5.371 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001075/0.5563, allocations: 133.6 kB / 494.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.5564, allocations: 11.81 kB / 494.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.5566, allocations: 95.58 kB / 494.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5567, allocations: 4 kB / 494.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5567, allocations: 0.6562 kB / 494.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5567, allocations: 3.984 kB / 494.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.5571, allocations: 378.8 kB / 495 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5571, allocations: 0 / 495 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.5572, allocations: 15.92 kB / 495 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5572, allocations: 0 / 495 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5572, allocations: 0 / 495 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5573, allocations: 8.078 kB / 495 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5573, allocations: 7.938 kB / 495 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.5575, allocations: 178.4 kB / 495.2 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.5575, allocations: 93 kB / 495.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.5576, allocations: 7.875 kB / 495.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.5577, allocations: 0 / 495.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.5578, allocations: 7.984 kB / 495.3 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5578, allocations: 3.938 kB / 495.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.558, allocations: 195.9 kB / 495.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.558, allocations: 0 / 495.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.5584, allocations: 47.23 kB / 495.5 MB, free: 4.211 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001245/0.5596, allocations: 0.9749 MB / 496.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.5599, allocations: 112.8 kB / 496.6 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5599, allocations: 0 / 496.6 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.56, allocations: 19.73 kB / 496.6 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.5603, allocations: 15.98 kB / 496.6 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.5612, allocations: 0.5212 MB / 497.2 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5614, allocations: 0.7121 MB / 497.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.5615, allocations: 19.55 kB / 497.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.5616, allocations: 35.92 kB / 497.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5616, allocations: 0 / 497.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.5871, allocations: 3.058 MB / 0.4892 GB, free: 14.85 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/0.5875, allocations: 213.3 kB / 0.4894 GB, free: 14.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/2.981, allocations: 4 kB / 0.4894 GB, free: 14.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat