Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.156/2.156, allocations: 234.9 MB / 250.5 MB, free: 10.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 12 kB / 314.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 54.88 MB / 369.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4372, allocations: 82.14 MB / 451.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4375, allocations: 75.84 kB / 451.5 MB, free: 8.492 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.01982/0.4573, allocations: 4.786 MB / 456.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.207e-06/0.4574, allocations: 0 / 456.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4574, allocations: 0 / 456.3 MB, free: 3.695 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.0006531/0.4581, allocations: 494 kB / 456.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4581, allocations: 8.031 kB / 456.8 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.4582, allocations: 15.81 kB / 456.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.4585, allocations: 206.9 kB / 457 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.4586, allocations: 8 kB / 457 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.4586, allocations: 4 kB / 457 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4588, allocations: 61.59 kB / 457.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4588, allocations: 3.984 kB / 457.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4588, allocations: 3.953 kB / 457.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-06/0.4588, allocations: 4 kB / 457.1 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.459, allocations: 23.98 kB / 457.1 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.4595, allocations: 320.8 kB / 457.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4597, allocations: 70.61 kB / 457.5 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4597, allocations: 0 / 457.5 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4599, allocations: 72.19 kB / 457.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.389e-06/0.46, allocations: 0 / 457.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000717/0.4607, allocations: 193 kB / 457.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4607, allocations: 51.41 kB / 457.8 MB, free: 1.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.461, allocations: 202.5 kB / 458 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4611, allocations: 25.7 kB / 458 MB, free: 1.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4612, allocations: 170.5 kB / 458.2 MB, free: 1.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4613, allocations: 23.66 kB / 458.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.4613, allocations: 4 kB / 458.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4615, allocations: 318.8 kB / 458.5 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.4616, allocations: 39.98 kB / 458.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.4618, allocations: 57.62 kB / 458.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.4619, allocations: 73.69 kB / 458.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4619, allocations: 0 / 458.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004055/0.4624, allocations: 167.3 kB / 458.8 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.4624, allocations: 45.58 kB / 458.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-06/0.4624, allocations: 0 / 458.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4625, allocations: 4 kB / 458.9 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4626, allocations: 16.03 kB / 458.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.959e-06/0.4626, allocations: 0 / 458.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.4627, allocations: 11.98 kB / 458.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4627, allocations: 8 kB / 458.9 MB, free: 0.793 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.0001483/0.4629, allocations: 129.8 kB / 459.1 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.4629, allocations: 11.81 kB / 459.1 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.4633, allocations: 127 kB / 459.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-06/0.4633, allocations: 4 kB / 459.2 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4633, allocations: 4 kB / 459.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-06/0.4634, allocations: 0 / 459.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.4641, allocations: 427.2 kB / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.816e-06/0.4641, allocations: 0 / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.4641, allocations: 15.88 kB / 459.6 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.801e-06/0.4642, allocations: 0 / 459.6 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.4642, allocations: 4 kB / 459.6 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.932e-06/0.4642, allocations: 4.031 kB / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-06/0.4642, allocations: 0 / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4646, allocations: 234 kB / 459.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4647, allocations: 97 kB / 460 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4648, allocations: 4.469 kB / 460 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4649, allocations: 3.938 kB / 460 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.465, allocations: 11.98 kB / 460 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.465, allocations: 12 kB / 460 MB, free: 15.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.4652, allocations: 163.2 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4652, allocations: 4 kB / 460.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.4657, allocations: 39.94 kB / 460.2 MB, free: 15.4 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.001529/0.4672, allocations: 469.1 kB / 460.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.4676, allocations: 167.3 kB / 460.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.66e-06/0.4676, allocations: 0 / 460.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4677, allocations: 35.92 kB / 460.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.468, allocations: 19.94 kB / 460.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.4687, allocations: 320.3 kB / 461.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.4692, allocations: 0.7159 MB / 461.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.4692, allocations: 19.44 kB / 461.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.476e-06/0.4693, allocations: 4 kB / 461.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of Templates: time 0.004937/0.4742, allocations: 2.033 MB / 464 MB, free: 11.65 MB / 394.7 MB