Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test44",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.0148/0.0148, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.995/1.995, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.003436/0.003436, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2451/0.2451, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007036/0.0007037, allocations: 12.22 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1349, allocations: 54.88 MB / 461.2 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.2992, allocations: 82.16 MB / 0.5306 GB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.2995, allocations: 71.97 kB / 0.5306 GB, free: 0.9805 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3576/0.6572, allocations: 4.655 MB / 0.5352 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6572, allocations: 0 / 0.5352 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.6573, allocations: 2.656 kB / 0.5352 GB, free: 82.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005895/0.6579, allocations: 490.3 kB / 0.5357 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6579, allocations: 9.125 kB / 0.5357 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.658, allocations: 32.34 kB / 0.5357 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.658, allocations: 10.69 kB / 0.5357 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.6584, allocations: 201.9 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.6584, allocations: 6.656 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.6584, allocations: 4.031 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.6586, allocations: 55.56 kB / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6587, allocations: 9.25 kB / 0.536 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.6587, allocations: 4.609 kB / 0.536 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6587, allocations: 0.75 kB / 0.536 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.6588, allocations: 23.94 kB / 0.536 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.6593, allocations: 316.2 kB / 0.5363 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.6596, allocations: 68.42 kB / 0.5364 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.6596, allocations: 1.656 kB / 0.5364 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.6598, allocations: 72.02 kB / 0.5364 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.6598, allocations: 0 / 0.5364 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008029/0.6607, allocations: 187.5 kB / 0.5366 GB, free: 81.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.6607, allocations: 52.38 kB / 0.5367 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.661, allocations: 183.7 kB / 0.5368 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.661, allocations: 28.77 kB / 0.5369 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.6611, allocations: 102.1 kB / 0.537 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.6611, allocations: 18.88 kB / 0.537 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.6611, allocations: 3.219 kB / 0.537 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.6612, allocations: 325.5 kB / 0.5373 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.6614, allocations: 34.8 kB / 0.5373 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6615, allocations: 59.7 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.6617, allocations: 78.77 kB / 0.5375 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6617, allocations: 5.188 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004335/0.6622, allocations: 182.4 kB / 0.5376 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.6622, allocations: 34.56 kB / 0.5377 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6622, allocations: 1.906 kB / 0.5377 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6623, allocations: 5.203 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6625, allocations: 20 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.6625, allocations: 1.344 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6626, allocations: 12.88 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.6626, allocations: 3.75 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.000121/0.6627, allocations: 127 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.6628, allocations: 13.48 kB / 0.5379 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.6632, allocations: 121.1 kB / 0.538 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6632, allocations: 2.25 kB / 0.538 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6632, allocations: 0.625 kB / 0.538 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6632, allocations: 0.5625 kB / 0.538 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.6639, allocations: 422.3 kB / 0.5384 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6639, allocations: 0 / 0.5384 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.743e-05/0.664, allocations: 9.75 kB / 0.5384 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.664, allocations: 6.141 kB / 0.5384 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.6641, allocations: 5.516 kB / 0.5384 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.6641, allocations: 5.312 kB / 0.5384 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6641, allocations: 2.141 kB / 0.5384 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.6645, allocations: 226.6 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.6646, allocations: 99.39 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.6646, allocations: 6.938 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.6648, allocations: 4.125 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.6648, allocations: 5.422 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.6648, allocations: 4.484 kB / 0.5387 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002024/0.6651, allocations: 149.8 kB / 0.5389 GB, free: 80.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6651, allocations: 0 / 0.5389 GB, free: 80.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.6655, allocations: 45.38 kB / 0.5389 GB, free: 80.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001871/0.6674, allocations: 1.161 MB / 0.5401 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.6679, allocations: 170.8 kB / 0.5402 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6679, allocations: 0 / 0.5402 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.6681, allocations: 33.56 kB / 0.5402 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.6685, allocations: 22.95 kB / 0.5403 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.6695, allocations: 0.6404 MB / 0.5409 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.6697, allocations: 0.7123 MB / 0.5416 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.572e-05/0.6698, allocations: 13.45 kB / 0.5416 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6699, allocations: 34 kB / 0.5416 GB, free: 77.85 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6699, allocations: 0 / 0.5416 GB, free: 77.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/0.7414, allocations: 3.061 MB / 0.5446 GB, free: 77.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.7417, allocations: 207.4 kB / 0.5448 GB, free: 76.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.228, allocations: 0 / 0.5448 GB, free: 76.85 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat