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.Test44.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.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004391, allocations: 12 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2795, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4032, allocations: 82.15 MB / 451.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4034, allocations: 79.89 kB / 451.5 MB, free: 8.355 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.01965/0.4231, allocations: 4.649 MB / 456.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4231, allocations: 0 / 456.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4232, allocations: 8 kB / 456.2 MB, free: 3.691 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.0006527/0.4238, allocations: 486 kB / 456.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4239, allocations: 8.031 kB / 456.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.424, allocations: 11.91 kB / 456.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4243, allocations: 198.9 kB / 456.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4243, allocations: 8 kB / 456.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4244, allocations: 4 kB / 456.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.4246, allocations: 61.66 kB / 456.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4246, allocations: 3.938 kB / 456.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4247, allocations: 7.953 kB / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-06/0.4247, allocations: 0 / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4248, allocations: 19.98 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.4253, allocations: 312.8 kB / 457.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4255, allocations: 66.61 kB / 457.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4256, allocations: 0 / 457.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.4258, allocations: 76.17 kB / 457.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.583e-06/0.4258, allocations: 3.938 kB / 457.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007124/0.4265, allocations: 181.5 kB / 457.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4266, allocations: 51.41 kB / 457.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4269, allocations: 190.4 kB / 457.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4269, allocations: 25.7 kB / 457.8 MB, free: 1.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.427, allocations: 170.5 kB / 458 MB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.4271, allocations: 19.7 kB / 458 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.4271, allocations: 4 kB / 458 MB, free: 1.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4273, allocations: 318.8 kB / 458.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4274, allocations: 39.98 kB / 458.4 MB, free: 1.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4275, allocations: 57.62 kB / 458.4 MB, free: 1.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4277, allocations: 73.7 kB / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.4278, allocations: 0 / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000411/0.4282, allocations: 175.2 kB / 458.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.4282, allocations: 41.64 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-06/0.4283, allocations: 4.062 kB / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4283, allocations: 0 / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4284, allocations: 19.94 kB / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4284, allocations: 0 / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.4285, allocations: 12.02 kB / 458.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.4286, allocations: 8 kB / 458.8 MB, free: 0.8281 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.000136/0.4287, allocations: 121.8 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.4288, allocations: 15.89 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4291, allocations: 127 kB / 459 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-06/0.4292, allocations: 0 / 459 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-06/0.4292, allocations: 0 / 459 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-06/0.4292, allocations: 4 kB / 459 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.4299, allocations: 419.2 kB / 459.4 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-06/0.4299, allocations: 4 kB / 459.4 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.43, allocations: 8 kB / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-06/0.43, allocations: 0 / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.43, allocations: 7.984 kB / 459.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.53e-06/0.43, allocations: 0 / 459.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.331e-06/0.43, allocations: 7.875 kB / 459.5 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.4304, allocations: 226.2 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4306, allocations: 104.8 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4306, allocations: 4.094 kB / 459.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4307, allocations: 7.922 kB / 459.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.4308, allocations: 4 kB / 459.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4308, allocations: 8 kB / 459.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.431, allocations: 143.9 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.431, allocations: 0 / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.4314, allocations: 47.92 kB / 460 MB, free: 15.46 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.001542/0.433, allocations: 460.1 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.4334, allocations: 167.3 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.963e-06/0.4334, allocations: 4.062 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.4336, allocations: 35.92 kB / 460.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4339, allocations: 27.88 kB / 460.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.4345, allocations: 280.4 kB / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4349, allocations: 0.7043 MB / 461.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.435, allocations: 19.44 kB / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.446e-06/0.435, allocations: 0 / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of Templates: time 0.004642/0.4397, allocations: 1.974 MB / 463.6 MB, free: 11.83 MB / 394.7 MB