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.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004469, allocations: 12 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3647, allocations: 54.86 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5354, allocations: 82.14 MB / 451.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5358, allocations: 71.97 kB / 451.6 MB, free: 10.43 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.02288/0.5587, allocations: 5.086 MB / 456.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.5587, allocations: 0 / 456.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.5587, allocations: 7.938 kB / 456.7 MB, free: 5.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007739/0.5595, allocations: 0.4941 MB / 457.2 MB, free: 4.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5596, allocations: 8.031 kB / 457.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.5596, allocations: 34.56 kB / 457.2 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.5597, allocations: 15.81 kB / 457.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.5601, allocations: 226.8 kB / 457.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5602, allocations: 4 kB / 457.5 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.5602, allocations: 4 kB / 457.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.5604, allocations: 65.61 kB / 457.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5605, allocations: 0 / 457.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5605, allocations: 8 kB / 457.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5605, allocations: 0 / 457.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.5607, allocations: 35.97 kB / 457.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.5613, allocations: 344.6 kB / 457.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.5616, allocations: 75.38 kB / 458 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5617, allocations: 0 / 458 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.5619, allocations: 87.44 kB / 458.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.5619, allocations: 0 / 458.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009769/0.5629, allocations: 225.4 kB / 458.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.563, allocations: 51.41 kB / 458.3 MB, free: 3.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.5634, allocations: 219.2 kB / 458.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.5634, allocations: 37.78 kB / 458.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5636, allocations: 170.5 kB / 458.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.5636, allocations: 27.56 kB / 458.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.5637, allocations: 0 / 458.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5639, allocations: 326.8 kB / 459.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.5641, allocations: 39.98 kB / 459.1 MB, free: 2.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.5643, allocations: 63.66 kB / 459.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.5646, allocations: 81.69 kB / 459.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5647, allocations: 3.938 kB / 459.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006736/0.5653, allocations: 191.2 kB / 459.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.5654, allocations: 45.72 kB / 459.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5655, allocations: 0 / 459.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5655, allocations: 3.984 kB / 459.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.5657, allocations: 19.94 kB / 459.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5657, allocations: 3.984 kB / 459.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.5659, allocations: 4 kB / 459.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5659, allocations: 8 kB / 459.5 MB, free: 2.195 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 (12): * Single equations (assignments): 11 * 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.0002176/0.5662, allocations: 134.5 kB / 459.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.5663, allocations: 23.77 kB / 459.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.5669, allocations: 150.9 kB / 459.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5669, allocations: 0 / 459.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5669, allocations: 0 / 459.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.567, allocations: 0 / 459.9 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5681, allocations: 471.1 kB / 460.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5681, allocations: 3.938 kB / 460.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.5682, allocations: 16.03 kB / 460.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.5683, allocations: 7.984 kB / 460.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5683, allocations: 4 kB / 460.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.5683, allocations: 7.938 kB / 460.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5683, allocations: 0 / 460.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.5689, allocations: 241.9 kB / 460.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.5691, allocations: 108.9 kB / 460.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.5692, allocations: 8 kB / 460.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.5694, allocations: 3.984 kB / 460.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.5695, allocations: 4.188 kB / 460.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5695, allocations: 7.984 kB / 460.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003641/0.5699, allocations: 188.3 kB / 460.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.665e-06/0.5699, allocations: 4 kB / 460.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.5706, allocations: 47.88 kB / 461 MB, free: 0.6758 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 (11): * Single equations (assignments): 9 * 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.002849/0.5735, allocations: 1.202 MB / 462.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.5742, allocations: 187.3 kB / 462.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5743, allocations: 0 / 462.3 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.5745, allocations: 43.92 kB / 462.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.575, allocations: 16.17 kB / 462.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5768, allocations: 0.7543 MB / 463.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.5773, allocations: 0.7238 MB / 463.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.5775, allocations: 43.42 kB / 463.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5775, allocations: 0 / 463.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/3.221, allocations: 2.896 MB / 466.8 MB, free: 10.76 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat