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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.466e-05/3.48e-05, allocations: 8 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 54.86 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4539, allocations: 82.06 MB / 446.6 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4542, allocations: 71.95 kB / 446.7 MB, free: 14.35 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.02076/0.475, allocations: 4.91 MB / 451.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.771e-06/0.475, allocations: 0 / 451.6 MB, free: 9.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4751, allocations: 0 / 451.6 MB, free: 9.465 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.0006107/0.4757, allocations: 481.4 kB / 452.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4757, allocations: 19.97 kB / 452.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.4758, allocations: 19.8 kB / 452.1 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.4762, allocations: 214.8 kB / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4762, allocations: 4 kB / 452.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.4763, allocations: 7.984 kB / 452.3 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4764, allocations: 55.12 kB / 452.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4765, allocations: 0 / 452.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4765, allocations: 3.953 kB / 452.4 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-06/0.4765, allocations: 4 kB / 452.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.4766, allocations: 27.98 kB / 452.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.4771, allocations: 320.8 kB / 452.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4773, allocations: 58.62 kB / 452.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.4774, allocations: 16.98 kB / 452.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4774, allocations: 7.953 kB / 452.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.4776, allocations: 67.52 kB / 452.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.6e-06/0.4776, allocations: 0 / 452.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.4782, allocations: 177 kB / 453 MB, free: 7.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.4783, allocations: 55.41 kB / 453.1 MB, free: 7.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.4786, allocations: 239.1 kB / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4787, allocations: 29.7 kB / 453.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4788, allocations: 174.5 kB / 453.5 MB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4789, allocations: 28.45 kB / 453.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.4789, allocations: 11.94 kB / 453.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4791, allocations: 314.8 kB / 453.9 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4792, allocations: 36 kB / 453.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4793, allocations: 45.72 kB / 454 MB, free: 6.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4795, allocations: 73.67 kB / 454 MB, free: 6.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-06/0.4795, allocations: 3.938 kB / 454 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003674/0.4799, allocations: 172.1 kB / 454.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.4799, allocations: 37.69 kB / 454.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4799, allocations: 0 / 454.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.48, allocations: 4 kB / 454.2 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4801, allocations: 20.12 kB / 454.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4801, allocations: 7.984 kB / 454.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.4802, allocations: 4 kB / 454.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.4803, allocations: 8 kB / 454.3 MB, free: 6.523 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.0001047/0.4804, allocations: 110.8 kB / 454.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.4805, allocations: 25.2 kB / 454.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.4808, allocations: 123.1 kB / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-06/0.4808, allocations: 0 / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.154e-06/0.4808, allocations: 0 / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.363e-06/0.4808, allocations: 0 / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/0.4816, allocations: 443.2 kB / 455 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.54e-06/0.4816, allocations: 4 kB / 455 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.4817, allocations: 12 kB / 455 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.119e-06/0.4817, allocations: 4.031 kB / 455 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4817, allocations: 1.875 kB / 455 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.707e-06/0.4817, allocations: 7.938 kB / 455 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.991e-06/0.4817, allocations: 0 / 455 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.4821, allocations: 229.8 kB / 455.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4822, allocations: 104.9 kB / 455.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.4823, allocations: 4 kB / 455.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4824, allocations: 8 kB / 455.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4825, allocations: 7.984 kB / 455.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4825, allocations: 4 kB / 455.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.4828, allocations: 197.5 kB / 455.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4828, allocations: 0 / 455.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.4832, allocations: 47.98 kB / 455.6 MB, free: 5.098 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.001449/0.4847, allocations: 425.9 kB / 456 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.485, allocations: 159.3 kB / 456.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.052e-06/0.4851, allocations: 4 kB / 456.2 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.4852, allocations: 31.94 kB / 456.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4855, allocations: 23.94 kB / 456.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.4861, allocations: 264.4 kB / 456.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4866, allocations: 0.7238 MB / 457.2 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.4867, allocations: 19.42 kB / 457.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.527e-06/0.4867, allocations: 0 / 457.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of Templates: time 0.00519/0.4919, allocations: 2.174 MB / 459.4 MB, free: 1.301 MB / 378.7 MB