Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test63",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.01298/0.01298, 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.951/1.951, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001974/0.001973, allocations: 116.7 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.292/0.292, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006399, allocations: 12.56 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09927, allocations: 54.88 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.2473, allocations: 82 MB / 0.5304 GB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.2476, allocations: 67.97 kB / 0.5305 GB, free: 1.141 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.3059/0.5535, allocations: 4.729 MB / 0.5351 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5536, allocations: 3.938 kB / 0.5351 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5536, allocations: 3 kB / 0.5351 GB, free: 82.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006317/0.5542, allocations: 495.5 kB / 0.5356 GB, free: 82.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5543, allocations: 10.28 kB / 0.5356 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.5543, allocations: 36.14 kB / 0.5356 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.5544, allocations: 15.06 kB / 0.5356 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.5548, allocations: 214.6 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.5548, allocations: 2.094 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.5549, allocations: 4.516 kB / 0.5358 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.555, allocations: 54.47 kB / 0.5359 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5551, allocations: 0 / 0.5359 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5551, allocations: 3.953 kB / 0.5359 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5551, allocations: 1.812 kB / 0.5359 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.5552, allocations: 15.86 kB / 0.5359 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.5555, allocations: 216.3 kB / 0.5361 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.5557, allocations: 52.66 kB / 0.5362 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.5558, allocations: 6.266 kB / 0.5362 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.556, allocations: 64.17 kB / 0.5362 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.556, allocations: 0 / 0.5362 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004301/0.5564, allocations: 114 kB / 0.5364 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5565, allocations: 53.14 kB / 0.5364 GB, free: 81.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.5568, allocations: 230.4 kB / 0.5366 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.5569, allocations: 27.92 kB / 0.5366 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.5569, allocations: 120.3 kB / 0.5368 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.557, allocations: 9.375 kB / 0.5368 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.557, allocations: 8.406 kB / 0.5368 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.5571, allocations: 324.2 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5572, allocations: 32.83 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.5574, allocations: 46 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5575, allocations: 70.14 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5576, allocations: 5.406 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004046/0.558, allocations: 162.5 kB / 0.5374 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.558, allocations: 38.84 kB / 0.5374 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5581, allocations: 0 / 0.5374 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5581, allocations: 2.5 kB / 0.5374 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5582, allocations: 9.828 kB / 0.5374 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5582, allocations: 5.672 kB / 0.5374 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5583, allocations: 15.62 kB / 0.5375 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.5584, allocations: 9.906 kB / 0.5375 GB, free: 81.01 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 (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.0001391/0.5585, allocations: 131.9 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.5586, allocations: 10.17 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.5589, allocations: 102.9 kB / 0.5377 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5589, allocations: 0 / 0.5377 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5589, allocations: 1.438 kB / 0.5377 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.559, allocations: 4.844 kB / 0.5377 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.5592, allocations: 205.4 kB / 0.5379 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5592, allocations: 6.016 kB / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.5592, allocations: 8.922 kB / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.5592, allocations: 0 / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5593, allocations: 3.078 kB / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.5593, allocations: 0 / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5593, allocations: 0.7031 kB / 0.5379 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.5596, allocations: 121.9 kB / 0.538 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5597, allocations: 106.8 kB / 0.5381 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.5597, allocations: 2.062 kB / 0.5381 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.5598, allocations: 12.72 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.5599, allocations: 2.828 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5599, allocations: 2.781 kB / 0.5382 GB, free: 80.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.5602, allocations: 193.9 kB / 0.5383 GB, free: 80.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5602, allocations: 0 / 0.5383 GB, free: 80.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.5605, allocations: 39.86 kB / 0.5384 GB, free: 80.38 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: 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 (6): * Single equations (assignments): 4 * 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.001474/0.562, allocations: 0.9321 MB / 0.5393 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.5624, allocations: 158.2 kB / 0.5394 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5624, allocations: 1.125 kB / 0.5394 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.5626, allocations: 23.31 kB / 0.5395 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5629, allocations: 20.94 kB / 0.5395 GB, free: 79.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5639, allocations: 0.6833 MB / 0.5402 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.5641, allocations: 0.7205 MB / 0.5409 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.121e-05/0.5642, allocations: 21.61 kB / 0.5409 GB, free: 78.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.5644, allocations: 36.94 kB / 0.5409 GB, free: 78.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5644, allocations: 0 / 0.5409 GB, free: 78.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.5926, allocations: 3.12 MB / 0.544 GB, free: 77.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.5929, allocations: 215.8 kB / 0.5442 GB, free: 77.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.02, allocations: 0 / 0.5442 GB, free: 77.28 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat