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.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.62/2.62, allocations: 234.9 MB / 251.1 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006002/0.0006004, allocations: 12 kB / 314.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4019, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5622, allocations: 81.97 MB / 451.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5626, allocations: 75.97 kB / 451.9 MB, free: 10.63 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02071/0.5833, allocations: 4.436 MB / 456.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5834, allocations: 0 / 456.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.5834, allocations: 0 / 456.3 MB, free: 6.188 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006933/0.5841, allocations: 466.7 kB / 456.7 MB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5842, allocations: 8.031 kB / 456.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.5842, allocations: 11.81 kB / 456.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.5846, allocations: 207 kB / 457 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5847, allocations: 3.984 kB / 457 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.5847, allocations: 4 kB / 457 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.5849, allocations: 53.61 kB / 457 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5849, allocations: 0 / 457 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.585, allocations: 7.953 kB / 457 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.585, allocations: 0 / 457 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5851, allocations: 19.98 kB / 457.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.5854, allocations: 197.6 kB / 457.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.5856, allocations: 54.61 kB / 457.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5857, allocations: 3.938 kB / 457.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.5859, allocations: 63.39 kB / 457.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.5859, allocations: 0 / 457.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004395/0.5864, allocations: 105.6 kB / 457.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5864, allocations: 59.36 kB / 457.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.5867, allocations: 178.9 kB / 457.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5867, allocations: 29.7 kB / 457.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.5868, allocations: 166.4 kB / 457.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.5869, allocations: 15.83 kB / 457.9 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.5869, allocations: 4 kB / 457.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5871, allocations: 314.8 kB / 458.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5872, allocations: 35.92 kB / 458.3 MB, free: 4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.5874, allocations: 45.7 kB / 458.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5876, allocations: 73.62 kB / 458.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5876, allocations: 0 / 458.4 MB, free: 3.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004216/0.588, allocations: 151.2 kB / 458.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.5881, allocations: 33.7 kB / 458.6 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5881, allocations: 0 / 458.6 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5882, allocations: 8.031 kB / 458.6 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5883, allocations: 11.98 kB / 458.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5883, allocations: 3.953 kB / 458.6 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5884, allocations: 12 kB / 458.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.5885, allocations: 4.312 kB / 458.6 MB, free: 3.633 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 (8): * Single equations (assignments): 7 * 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.0001517/0.5886, allocations: 127.7 kB / 458.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.5887, allocations: 11.81 kB / 458.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.589, allocations: 102 kB / 458.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.589, allocations: 4 kB / 458.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5891, allocations: 3.984 kB / 458.8 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5891, allocations: 3.953 kB / 458.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.5893, allocations: 189.6 kB / 459 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5893, allocations: 4 kB / 459 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.5894, allocations: 4 kB / 459 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5894, allocations: 7.922 kB / 459 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5894, allocations: 0 / 459 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5894, allocations: 0 / 459 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5894, allocations: 0 / 459 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.5897, allocations: 121 kB / 459.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5899, allocations: 93 kB / 459.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.5899, allocations: 4 kB / 459.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.59, allocations: 0 / 459.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.59, allocations: 7.984 kB / 459.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.59, allocations: 0 / 459.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.5903, allocations: 143.1 kB / 459.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5903, allocations: 4 kB / 459.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.5906, allocations: 35.92 kB / 459.4 MB, free: 2.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001239/0.5919, allocations: 405.5 kB / 459.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.5923, allocations: 143.4 kB / 460 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5924, allocations: 4 kB / 460 MB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.5925, allocations: 23.92 kB / 460 MB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.5928, allocations: 23.84 kB / 460 MB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.5934, allocations: 246.9 kB / 460.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.5938, allocations: 0.7043 MB / 461 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.5938, allocations: 15.44 kB / 461 MB, free: 1.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5938, allocations: 0 / 461 MB, free: 1.133 MB / 378.7 MB Notification: Performance of Templates: time 0.005828/0.5997, allocations: 1.706 MB / 462.7 MB, free: 15.43 MB / 394.7 MB