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.Test4.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.143e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2767, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4008, allocations: 81.39 MB / 439.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.401, allocations: 71.95 kB / 439.5 MB, free: 13.37 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01934/0.4204, allocations: 4.638 MB / 444.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.868e-06/0.4204, allocations: 4 kB / 444.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4205, allocations: 0 / 444.1 MB, free: 8.723 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.0006123/0.4211, allocations: 469.4 kB / 444.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4211, allocations: 11.97 kB / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.4212, allocations: 11.91 kB / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4216, allocations: 203.6 kB / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4216, allocations: 7.984 kB / 444.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4216, allocations: 4 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.986e-05/0.4217, allocations: 20 kB / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4219, allocations: 53.67 kB / 444.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4219, allocations: 7.891 kB / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4219, allocations: 0 / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4219, allocations: 4 kB / 444.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.4224, allocations: 297.3 kB / 445.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4226, allocations: 50.69 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.4227, allocations: 20.97 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4227, allocations: 0 / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.4228, allocations: 71.3 kB / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.521e-06/0.4229, allocations: 0 / 445.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.4235, allocations: 153.3 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4235, allocations: 51.41 kB / 445.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4238, allocations: 189.5 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4238, allocations: 25.7 kB / 445.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4239, allocations: 170.5 kB / 445.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.424, allocations: 23.64 kB / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-06/0.424, allocations: 0 / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4242, allocations: 319.5 kB / 446.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.4243, allocations: 28 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4244, allocations: 57.64 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4245, allocations: 39.98 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-06/0.4245, allocations: 0 / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003197/0.4249, allocations: 125.6 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4249, allocations: 37.69 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.425, allocations: 7.953 kB / 446.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.425, allocations: 7.922 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4251, allocations: 12 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.109e-06/0.4251, allocations: 4 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.4253, allocations: 12.11 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.4253, allocations: 7.938 kB / 446.6 MB, free: 6.039 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.0001071/0.4254, allocations: 108.9 kB / 446.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4255, allocations: 11.81 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.4258, allocations: 115.5 kB / 446.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4258, allocations: 3.953 kB / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.626e-06/0.4258, allocations: 0 / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-06/0.4258, allocations: 0 / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.4264, allocations: 391.9 kB / 447.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4265, allocations: 4 kB / 447.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.4265, allocations: 8.188 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-06/0.4266, allocations: 3.953 kB / 447.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4266, allocations: 11.94 kB / 447.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.792e-06/0.4266, allocations: 0 / 447.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.144e-06/0.4266, allocations: 0 / 447.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.4269, allocations: 221.9 kB / 447.5 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4271, allocations: 104.9 kB / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4271, allocations: 0 / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4272, allocations: 4 kB / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.4273, allocations: 7.984 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4273, allocations: 0 / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4275, allocations: 151.2 kB / 447.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4275, allocations: 0 / 447.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.4279, allocations: 35.94 kB / 447.8 MB, free: 4.773 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.001255/0.4292, allocations: 369.6 kB / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.4295, allocations: 155.3 kB / 448.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4296, allocations: 4 kB / 448.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.4297, allocations: 31.92 kB / 448.3 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.43, allocations: 24.53 kB / 448.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.4305, allocations: 208.3 kB / 448.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.431, allocations: 0.7239 MB / 449.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.431, allocations: 23.38 kB / 449.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of SimCode: time 2.067e-06/0.4311, allocations: 0 / 449.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of Templates: time 0.004891/0.436, allocations: 1.994 MB / 451.3 MB, free: 1.246 MB / 378.7 MB