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.Test56.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.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.388e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 54.86 MB / 364.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4409, allocations: 82.27 MB / 446.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4412, allocations: 72.67 kB / 446.9 MB, free: 14 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.0206/0.4619, allocations: 4.964 MB / 451.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.4619, allocations: 0 / 451.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4619, allocations: 0 / 451.9 MB, free: 9.07 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.0005775/0.4625, allocations: 453.6 kB / 452.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4626, allocations: 11.97 kB / 452.3 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.4626, allocations: 15.91 kB / 452.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.463, allocations: 197.8 kB / 452.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.463, allocations: 4 kB / 452.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.463, allocations: 15.89 kB / 452.5 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4632, allocations: 60.28 kB / 452.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4632, allocations: 0 / 452.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4633, allocations: 11.94 kB / 452.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-06/0.4633, allocations: 4 kB / 452.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.4634, allocations: 16 kB / 452.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.4638, allocations: 296.9 kB / 452.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.464, allocations: 54.84 kB / 453 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.4641, allocations: 24.97 kB / 453 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4641, allocations: 8.984 kB / 453 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4643, allocations: 63.34 kB / 453.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.468e-06/0.4643, allocations: 0 / 453.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.4649, allocations: 165.3 kB / 453.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.465, allocations: 81.05 kB / 453.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4652, allocations: 139.7 kB / 453.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4652, allocations: 29.7 kB / 453.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.4653, allocations: 166.4 kB / 453.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.4654, allocations: 23.66 kB / 453.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.4654, allocations: 4 kB / 453.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4655, allocations: 318.8 kB / 454 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.4656, allocations: 29.41 kB / 454 MB, free: 6.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.4657, allocations: 55.22 kB / 454.1 MB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4659, allocations: 61.69 kB / 454.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/0.4659, allocations: 7.984 kB / 454.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000314/0.4662, allocations: 147.3 kB / 454.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.4663, allocations: 37.7 kB / 454.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.201e-06/0.4663, allocations: 0 / 454.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4663, allocations: 0 / 454.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4664, allocations: 15.98 kB / 454.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.997e-06/0.4665, allocations: 4 kB / 454.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.4666, allocations: 4 kB / 454.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4666, allocations: 7.938 kB / 454.3 MB, free: 6.328 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 0.0001038/0.4667, allocations: 117 kB / 454.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4668, allocations: 15.84 kB / 454.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4671, allocations: 126.2 kB / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-06/0.4671, allocations: 0 / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-06/0.4671, allocations: 0 / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4671, allocations: 0 / 454.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.4677, allocations: 399.3 kB / 455 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-06/0.4677, allocations: 4.031 kB / 455 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.4678, allocations: 8 kB / 455 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.967e-06/0.4678, allocations: 4 kB / 455 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4679, allocations: 3.984 kB / 455 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-06/0.4679, allocations: 0 / 455 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4679, allocations: 4 kB / 455 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.4682, allocations: 225.1 kB / 455.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.4683, allocations: 93 kB / 455.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4683, allocations: 192 / 455.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4685, allocations: 12 kB / 455.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4685, allocations: 11.92 kB / 455.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.4686, allocations: 4 kB / 455.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.4687, allocations: 115.2 kB / 455.5 MB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.009e-06/0.4687, allocations: 0 / 455.5 MB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.4691, allocations: 55.86 kB / 455.5 MB, free: 5.047 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.001686/0.4708, allocations: 0.4945 MB / 456 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4712, allocations: 147.3 kB / 456.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.324e-06/0.4712, allocations: 0 / 456.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.4713, allocations: 31.94 kB / 456.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4716, allocations: 23.91 kB / 456.2 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4721, allocations: 164.2 kB / 456.4 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4724, allocations: 0.6965 MB / 457.1 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.4725, allocations: 19.42 kB / 457.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.611e-06/0.4725, allocations: 0 / 457.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of Templates: time 0.005144/0.4777, allocations: 2.094 MB / 459.2 MB, free: 1.387 MB / 378.7 MB