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.Test32.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.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.947e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.314, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4368, allocations: 82.03 MB / 446.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4371, allocations: 68.56 kB / 446.6 MB, free: 14.37 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.01937/0.4565, allocations: 4.47 MB / 451.1 MB, free: 9.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.297e-06/0.4566, allocations: 4 kB / 451.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4566, allocations: 0 / 451.1 MB, free: 9.926 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.0005705/0.4572, allocations: 445.6 kB / 451.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4572, allocations: 11.97 kB / 451.6 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.4573, allocations: 11.91 kB / 451.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4576, allocations: 208.1 kB / 451.8 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4577, allocations: 4 kB / 451.8 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.4577, allocations: 8 kB / 451.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.4579, allocations: 53.67 kB / 451.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4579, allocations: 0 / 451.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4579, allocations: 11.95 kB / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-06/0.458, allocations: 0 / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.458, allocations: 19.94 kB / 451.9 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.4585, allocations: 320.7 kB / 452.2 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4587, allocations: 54.69 kB / 452.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.4588, allocations: 20.98 kB / 452.3 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4588, allocations: 7.891 kB / 452.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.459, allocations: 68.27 kB / 452.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.459, allocations: 0.75 kB / 452.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.4596, allocations: 149.4 kB / 452.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4597, allocations: 63.39 kB / 452.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.4599, allocations: 169.2 kB / 452.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.46, allocations: 33.7 kB / 452.7 MB, free: 8.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.4601, allocations: 162.5 kB / 452.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.4601, allocations: 27.69 kB / 452.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.4602, allocations: 7.938 kB / 452.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4603, allocations: 312.1 kB / 453.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4604, allocations: 36 kB / 453.3 MB, free: 7.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4606, allocations: 57.7 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.4607, allocations: 65.69 kB / 453.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-06/0.4607, allocations: 0 / 453.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003702/0.4611, allocations: 179.2 kB / 453.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.4612, allocations: 37.7 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.792e-06/0.4612, allocations: 192 / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4612, allocations: 4 kB / 453.6 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4613, allocations: 23.92 kB / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4614, allocations: 32 / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.48e-05/0.4615, allocations: 8 kB / 453.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.4615, allocations: 8.844 kB / 453.7 MB, free: 7.145 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 () * 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 9.896e-05/0.4616, allocations: 113 kB / 453.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4617, allocations: 11.86 kB / 453.8 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.462, allocations: 118.9 kB / 453.9 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-06/0.462, allocations: 0 / 453.9 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.462, allocations: 4 kB / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-06/0.462, allocations: 0 / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.4627, allocations: 407.2 kB / 454.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-06/0.4627, allocations: 0 / 454.3 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.4628, allocations: 11.98 kB / 454.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-06/0.4628, allocations: 4.75 kB / 454.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4628, allocations: 0 / 454.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.679e-06/0.4628, allocations: 0 / 454.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-06/0.4628, allocations: 0 / 454.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.4632, allocations: 238 kB / 454.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4633, allocations: 93 kB / 454.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.4633, allocations: 8 kB / 454.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.4634, allocations: 7.984 kB / 454.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.4635, allocations: 3.938 kB / 454.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4635, allocations: 4 kB / 454.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.4637, allocations: 147.1 kB / 454.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.4637, allocations: 0 / 454.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.4641, allocations: 39.98 kB / 454.8 MB, free: 5.844 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) * 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.00143/0.4656, allocations: 418.9 kB / 455.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003482/0.4659, allocations: 167.3 kB / 455.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.814e-06/0.466, allocations: 4.062 kB / 455.4 MB, free: 5.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.4661, allocations: 31.94 kB / 455.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.4664, allocations: 23.94 kB / 455.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.4669, allocations: 184.5 kB / 455.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4673, allocations: 0.7043 MB / 456.4 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.4673, allocations: 23.48 kB / 456.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4674, allocations: 0 / 456.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of Templates: time 0.004613/0.472, allocations: 1.933 MB / 458.3 MB, free: 2.391 MB / 378.7 MB