Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test8",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.01535/0.01536, allocations: 164.8 kB / 15.11 MB, free: 5.934 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.716/1.716, 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.001946/0.001947, allocations: 111.3 kB / 226.2 MB, free: 10.1 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.4259/0.4259, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004708, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.5169, allocations: 75.87 MB / 487.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5172, allocations: 77.52 kB / 487.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.5354, allocations: 4.547 MB / 492.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5355, allocations: 0 / 492.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.5355, allocations: 3.938 kB / 492.2 MB, free: 8.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005481/0.5361, allocations: 454.8 kB / 492.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5361, allocations: 8.031 kB / 492.6 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.5362, allocations: 42.17 kB / 492.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.5362, allocations: 23.02 kB / 492.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.5365, allocations: 202.8 kB / 492.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.5366, allocations: 0 / 492.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.5366, allocations: 4 kB / 492.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5367, allocations: 53.55 kB / 493 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5368, allocations: 0 / 493 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5368, allocations: 0 / 493 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.5368, allocations: 9.719 kB / 493 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.5369, allocations: 23.78 kB / 493 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.5374, allocations: 326.7 kB / 493.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.5376, allocations: 54.23 kB / 493.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5376, allocations: 3.984 kB / 493.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.5378, allocations: 75.05 kB / 493.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.366e-06/0.5378, allocations: 0 / 493.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005987/0.5384, allocations: 144.2 kB / 493.6 MB, free: 6.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5384, allocations: 56.02 kB / 493.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.5388, allocations: 213.4 kB / 493.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5388, allocations: 29.64 kB / 493.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.5389, allocations: 113.3 kB / 494 MB, free: 6.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5389, allocations: 18.88 kB / 494 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.5389, allocations: 0 / 494 MB, free: 6.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.539, allocations: 329 kB / 494.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.5391, allocations: 34.36 kB / 494.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.5392, allocations: 23.11 kB / 494.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.5393, allocations: 64.5 kB / 494.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5393, allocations: 0 / 494.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003013/0.5396, allocations: 147.8 kB / 494.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.5397, allocations: 29.7 kB / 494.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5397, allocations: 0 / 494.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5397, allocations: 4 kB / 494.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5398, allocations: 15.67 kB / 494.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5398, allocations: 4 kB / 494.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.5399, allocations: 11.89 kB / 494.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.54, allocations: 4 kB / 494.7 MB, free: 5.555 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 (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.0001185/0.5401, allocations: 129.3 kB / 494.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.5401, allocations: 15.81 kB / 494.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.5404, allocations: 112.5 kB / 494.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5405, allocations: 4 kB / 494.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5405, allocations: 7.984 kB / 494.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5405, allocations: 0 / 494.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.541, allocations: 401.3 kB / 495.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5411, allocations: 3.938 kB / 495.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.5412, allocations: 8 kB / 495.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5412, allocations: 0 / 495.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5412, allocations: 4 kB / 495.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5412, allocations: 0 / 495.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5412, allocations: 3.953 kB / 495.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5415, allocations: 202.3 kB / 495.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.5415, allocations: 96.91 kB / 495.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.5416, allocations: 7.406 kB / 495.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5417, allocations: 8.359 kB / 495.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.5418, allocations: 11.94 kB / 495.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.5418, allocations: 4 kB / 495.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.542, allocations: 183.2 kB / 495.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5421, allocations: 4 kB / 495.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.5425, allocations: 39.92 kB / 495.9 MB, free: 4.348 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 (8): * Single equations (assignments): 7 * 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.00129/0.5438, allocations: 0.9894 MB / 496.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.5441, allocations: 127.3 kB / 497 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5441, allocations: 0 / 497 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.5442, allocations: 23.73 kB / 497 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5445, allocations: 18.73 kB / 497 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.5455, allocations: 0.531 MB / 497.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.5457, allocations: 0.7196 MB / 498.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.5458, allocations: 20.97 kB / 498.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.5459, allocations: 41.03 kB / 498.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5459, allocations: 0 / 498.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.5709, allocations: 3.163 MB / 0.4897 GB, free: 14.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.5713, allocations: 208.4 kB / 0.4899 GB, free: 14.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/2.995, allocations: 3.938 kB / 0.49 GB, free: 14.6 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat