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.Test27.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006494, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.399, allocations: 54.86 MB / 369.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.5521, allocations: 82.1 MB / 451.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5525, allocations: 75.97 kB / 452 MB, free: 10.46 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.02148/0.574, allocations: 4.489 MB / 456.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.574, allocations: 0 / 456.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.5741, allocations: 4 kB / 456.5 MB, free: 5.961 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.0006947/0.5748, allocations: 474.1 kB / 456.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.5748, allocations: 12.03 kB / 457 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.5749, allocations: 15.8 kB / 457 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.5753, allocations: 199.5 kB / 457.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5753, allocations: 4 kB / 457.2 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.5754, allocations: 7.984 kB / 457.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.5756, allocations: 57.67 kB / 457.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5756, allocations: 4 kB / 457.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5756, allocations: 3.953 kB / 457.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5757, allocations: 0 / 457.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.5758, allocations: 23.92 kB / 457.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.5763, allocations: 308.9 kB / 457.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.5766, allocations: 62.67 kB / 457.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5766, allocations: 0 / 457.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.5768, allocations: 79.98 kB / 457.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.5769, allocations: 3.938 kB / 457.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008748/0.5777, allocations: 189.1 kB / 457.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5778, allocations: 51.41 kB / 457.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5781, allocations: 190.1 kB / 458.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5781, allocations: 25.7 kB / 458.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.5782, allocations: 166.5 kB / 458.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.5783, allocations: 27.64 kB / 458.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.5783, allocations: 0 / 458.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5784, allocations: 318.8 kB / 458.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.5786, allocations: 35.98 kB / 458.7 MB, free: 3.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.5788, allocations: 53.69 kB / 458.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.579, allocations: 77.69 kB / 458.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.579, allocations: 0 / 458.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004975/0.5795, allocations: 179.3 kB / 459 MB, free: 3.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.5796, allocations: 41.69 kB / 459 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5796, allocations: 0 / 459 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5796, allocations: 4 kB / 459 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.5798, allocations: 19.92 kB / 459.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5798, allocations: 0 / 459.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.5799, allocations: 8.031 kB / 459.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.58, allocations: 8 kB / 459.1 MB, free: 3.113 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.0001581/0.5801, allocations: 125.8 kB / 459.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.5802, allocations: 19.77 kB / 459.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.5806, allocations: 118.3 kB / 459.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5806, allocations: 0 / 459.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5806, allocations: 0 / 459.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5806, allocations: 3.984 kB / 459.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.5814, allocations: 423.3 kB / 459.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5814, allocations: 0 / 459.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.5815, allocations: 8 kB / 459.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.5815, allocations: 0 / 459.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5815, allocations: 4 kB / 459.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.5815, allocations: 3.984 kB / 459.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5815, allocations: 3.938 kB / 459.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.5819, allocations: 216.4 kB / 460 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.5821, allocations: 104.9 kB / 460.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.5821, allocations: 4 kB / 460.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5822, allocations: 3.984 kB / 460.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.5823, allocations: 11.94 kB / 460.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.5823, allocations: 4 kB / 460.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.5825, allocations: 143.2 kB / 460.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5825, allocations: 0 / 460.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.583, allocations: 39.94 kB / 460.3 MB, free: 1.777 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.001344/0.5843, allocations: 455.2 kB / 460.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.5849, allocations: 171.3 kB / 460.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5849, allocations: 0 / 460.9 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.585, allocations: 39.98 kB / 460.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.5854, allocations: 15.98 kB / 460.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.5861, allocations: 283.6 kB / 461.2 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5865, allocations: 0.7082 MB / 461.9 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.5866, allocations: 15.44 kB / 461.9 MB, free: 124 kB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5866, allocations: 0 / 461.9 MB, free: 124 kB / 378.7 MB Notification: Performance of Templates: time 0.005813/0.5924, allocations: 1.932 MB / 463.9 MB, free: 14.19 MB / 394.7 MB