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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000611/0.000611, allocations: 19.98 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3581, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5498, allocations: 82.1 MB / 451.5 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5502, allocations: 75.89 kB / 451.5 MB, free: 8.434 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.02093/0.5711, allocations: 4.602 MB / 456.1 MB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5712, allocations: 0 / 456.1 MB, free: 3.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.5712, allocations: 4 kB / 456.1 MB, free: 3.82 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.0006939/0.5719, allocations: 498 kB / 456.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.572, allocations: 8.031 kB / 456.6 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.572, allocations: 34.56 kB / 456.7 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.5721, allocations: 11.91 kB / 456.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.5725, allocations: 215.5 kB / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5725, allocations: 0 / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5726, allocations: 8 kB / 456.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.5728, allocations: 61.59 kB / 457 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5728, allocations: 3.906 kB / 457 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5728, allocations: 7.953 kB / 457 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5728, allocations: 3.938 kB / 457 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.573, allocations: 23.98 kB / 457 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.5735, allocations: 312.8 kB / 457.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.5738, allocations: 58.62 kB / 457.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5738, allocations: 4.125 kB / 457.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.574, allocations: 80.05 kB / 457.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.5741, allocations: 0 / 457.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000872/0.5749, allocations: 185.2 kB / 457.6 MB, free: 2.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.575, allocations: 51.41 kB / 457.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.5753, allocations: 189.4 kB / 457.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.5754, allocations: 29.7 kB / 457.9 MB, free: 1.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.5755, allocations: 170.6 kB / 458.1 MB, free: 1.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.5755, allocations: 31.62 kB / 458.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5756, allocations: 0 / 458.1 MB, free: 1.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5757, allocations: 318.8 kB / 458.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5759, allocations: 39.97 kB / 458.4 MB, free: 1.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.576, allocations: 53.7 kB / 458.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.5762, allocations: 81.62 kB / 458.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5763, allocations: 0 / 458.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004639/0.5767, allocations: 179.3 kB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.5768, allocations: 33.7 kB / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5768, allocations: 0 / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5768, allocations: 0 / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.577, allocations: 19.92 kB / 458.8 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.577, allocations: 4.078 kB / 458.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5771, allocations: 8 kB / 458.8 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.5772, allocations: 11.97 kB / 458.8 MB, free: 0.875 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.0001609/0.5774, allocations: 135.1 kB / 459 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.5774, allocations: 19.77 kB / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.5778, allocations: 119 kB / 459.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5778, allocations: 0 / 459.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5779, allocations: 4 kB / 459.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5779, allocations: 0 / 459.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.5786, allocations: 423.2 kB / 459.5 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5787, allocations: 0 / 459.5 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.5787, allocations: 12 kB / 459.5 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5788, allocations: 0 / 459.5 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5788, allocations: 0 / 459.5 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.5788, allocations: 7.938 kB / 459.5 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5788, allocations: 0 / 459.5 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.5792, allocations: 237.8 kB / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5794, allocations: 100.9 kB / 459.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.5794, allocations: 4 kB / 459.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5795, allocations: 4.281 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.5796, allocations: 7.984 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.5796, allocations: 4 kB / 459.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.5798, allocations: 159.2 kB / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5799, allocations: 4 kB / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.5803, allocations: 39.94 kB / 460.1 MB, free: 15.49 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.001963/0.5822, allocations: 1.179 MB / 461.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.5828, allocations: 163.3 kB / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5828, allocations: 0 / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.5829, allocations: 35.92 kB / 461.4 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.5833, allocations: 23.98 kB / 461.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.5845, allocations: 0.6905 MB / 462.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.5849, allocations: 0.716 MB / 462.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5851, allocations: 31.42 kB / 462.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5851, allocations: 3.938 kB / 462.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.515/3.1, allocations: 2.542 MB / 465.5 MB, free: 10.07 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat