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.Test39.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.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.207/2.207, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2878, allocations: 54.85 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4491, allocations: 81.98 MB / 451.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.4494, allocations: 75.97 kB / 451.3 MB, free: 10.57 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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.01824/0.4677, allocations: 4.432 MB / 455.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.308e-06/0.4677, allocations: 0 / 455.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4677, allocations: 0 / 455.8 MB, free: 6.129 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.0005954/0.4683, allocations: 474.1 kB / 456.2 MB, free: 5.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4684, allocations: 8.031 kB / 456.2 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.4684, allocations: 11.81 kB / 456.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.4688, allocations: 203 kB / 456.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4689, allocations: 3.984 kB / 456.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4689, allocations: 8 kB / 456.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.4691, allocations: 53.67 kB / 456.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.53e-06/0.4691, allocations: 0 / 456.5 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4691, allocations: 3.953 kB / 456.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-06/0.4691, allocations: 0 / 456.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.4692, allocations: 23.92 kB / 456.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.4695, allocations: 197.6 kB / 456.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.4697, allocations: 54.62 kB / 456.8 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.4698, allocations: 4 kB / 456.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.47, allocations: 59.48 kB / 456.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.36e-06/0.47, allocations: 0 / 456.8 MB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003696/0.4703, allocations: 105.5 kB / 456.9 MB, free: 4.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4704, allocations: 59.36 kB / 457 MB, free: 4.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.4706, allocations: 170 kB / 457.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4707, allocations: 25.7 kB / 457.2 MB, free: 4.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.4708, allocations: 170.5 kB / 457.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4708, allocations: 7.844 kB / 457.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.4709, allocations: 8 kB / 457.4 MB, free: 4.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.471, allocations: 314.8 kB / 457.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.4711, allocations: 35.92 kB / 457.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4713, allocations: 49.69 kB / 457.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4714, allocations: 73.62 kB / 457.8 MB, free: 3.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-06/0.4715, allocations: 0 / 457.8 MB, free: 3.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000358/0.4718, allocations: 147.2 kB / 458 MB, free: 3.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.4719, allocations: 41.69 kB / 458 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4719, allocations: 0 / 458 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4719, allocations: 0 / 458 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.472, allocations: 12.31 kB / 458 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.765e-06/0.4721, allocations: 0 / 458 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.4722, allocations: 15.98 kB / 458 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4722, allocations: 7.984 kB / 458.1 MB, free: 3.582 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.0001346/0.4723, allocations: 121.8 kB / 458.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.4724, allocations: 15.81 kB / 458.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4727, allocations: 97.91 kB / 458.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4727, allocations: 0 / 458.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.45e-06/0.4727, allocations: 0 / 458.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-06/0.4728, allocations: 0 / 458.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.473, allocations: 201.5 kB / 458.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-06/0.473, allocations: 0 / 458.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.473, allocations: 4 kB / 458.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.318e-06/0.4731, allocations: 4 kB / 458.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4731, allocations: 0 / 458.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-06/0.4731, allocations: 0 / 458.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-06/0.4731, allocations: 0 / 458.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4734, allocations: 120.9 kB / 458.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.4735, allocations: 96.94 kB / 458.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4736, allocations: 8 kB / 458.7 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.4736, allocations: 7.984 kB / 458.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.4737, allocations: 3.984 kB / 458.7 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4737, allocations: 4 kB / 458.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4739, allocations: 139.2 kB / 458.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4739, allocations: 0 / 458.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.4742, allocations: 35.94 kB / 458.9 MB, free: 2.629 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.001336/0.4756, allocations: 399.6 kB / 459.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.476, allocations: 151.3 kB / 459.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.476, allocations: 4.062 kB / 459.4 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.4761, allocations: 24 kB / 459.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4764, allocations: 23.84 kB / 459.5 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.4769, allocations: 250.7 kB / 459.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.4773, allocations: 0.7043 MB / 460.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.4774, allocations: 11.44 kB / 460.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.671e-06/0.4774, allocations: 0 / 460.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of Templates: time 0.004243/0.4816, allocations: 1.7 MB / 462.1 MB, free: 15.39 MB / 394.7 MB