Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.000461, allocations: 12 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3844, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.5347, allocations: 82.15 MB / 451.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.535, allocations: 71.97 kB / 451.6 MB, free: 8.367 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.02025/0.5553, allocations: 4.528 MB / 456.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5553, allocations: 4 kB / 456.1 MB, free: 3.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.5554, allocations: 4 kB / 456.1 MB, free: 3.824 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.0006362/0.556, allocations: 474.2 kB / 456.6 MB, free: 3.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5561, allocations: 8.031 kB / 456.6 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.5561, allocations: 38.5 kB / 456.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.5562, allocations: 11.91 kB / 456.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.5565, allocations: 204.4 kB / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5566, allocations: 3.984 kB / 456.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.5566, allocations: 8 kB / 456.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5568, allocations: 61.61 kB / 456.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5568, allocations: 0 / 456.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5569, allocations: 3.953 kB / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5569, allocations: 0 / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.557, allocations: 23.92 kB / 456.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.5575, allocations: 324.7 kB / 457.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.5578, allocations: 58.67 kB / 457.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5578, allocations: 0 / 457.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.558, allocations: 80.06 kB / 457.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.558, allocations: 4 kB / 457.4 MB, free: 2.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008032/0.5588, allocations: 173.3 kB / 457.6 MB, free: 2.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5589, allocations: 55.41 kB / 457.6 MB, free: 2.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.5591, allocations: 157 kB / 457.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.5592, allocations: 25.7 kB / 457.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.5593, allocations: 162.6 kB / 458 MB, free: 1.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.5593, allocations: 27.64 kB / 458 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.5594, allocations: 4 kB / 458 MB, free: 1.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5595, allocations: 318.8 kB / 458.3 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5596, allocations: 39.97 kB / 458.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.5598, allocations: 49.7 kB / 458.4 MB, free: 1.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.56, allocations: 77.69 kB / 458.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.56, allocations: 0 / 458.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004796/0.5605, allocations: 175.2 kB / 458.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.5606, allocations: 33.7 kB / 458.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.5606, allocations: 4.031 kB / 458.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.5606, allocations: 4 kB / 458.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5608, allocations: 19.98 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5608, allocations: 4.062 kB / 458.7 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.561, allocations: 8.281 kB / 458.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.561, allocations: 11.94 kB / 458.7 MB, free: 0.9648 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.0001587/0.5612, allocations: 127 kB / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.5612, allocations: 11.86 kB / 458.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.5616, allocations: 126.3 kB / 459 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5617, allocations: 7.938 kB / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5617, allocations: 0 / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5617, allocations: 0 / 459 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.5624, allocations: 411.2 kB / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5624, allocations: 0 / 459.4 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.5625, allocations: 8 kB / 459.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5625, allocations: 4.031 kB / 459.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5625, allocations: 8 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5625, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5626, allocations: 0 / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.563, allocations: 229.9 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.5631, allocations: 97 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.5631, allocations: 8 kB / 459.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.5632, allocations: 4 kB / 459.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.5633, allocations: 7.984 kB / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.5633, allocations: 4 kB / 459.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.5635, allocations: 123.2 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.865e-06/0.5635, allocations: 4 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.5639, allocations: 43.92 kB / 459.9 MB, free: 15.64 MB / 394.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.001974/0.5659, allocations: 1.183 MB / 461.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.5664, allocations: 171.3 kB / 461.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5664, allocations: 4.062 kB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.5666, allocations: 31.98 kB / 461.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5669, allocations: 16.59 kB / 461.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.568, allocations: 0.6498 MB / 462 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.5685, allocations: 0.7082 MB / 462.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.5686, allocations: 39.42 kB / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5686, allocations: 0 / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.507/3.076, allocations: 2.356 MB / 465.1 MB, free: 10.43 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat