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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.33e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.4413, allocations: 81.4 MB / 439.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4416, allocations: 71.95 kB / 439.5 MB, free: 13.38 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.02005/0.4617, allocations: 4.477 MB / 444 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4617, allocations: 3.938 kB / 444 MB, free: 8.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4617, allocations: 0 / 444 MB, free: 8.887 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.0005939/0.4623, allocations: 457.5 kB / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4624, allocations: 12.03 kB / 444.5 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.4624, allocations: 11.91 kB / 444.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4628, allocations: 208.1 kB / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4628, allocations: 0 / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.4629, allocations: 8 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.551e-05/0.463, allocations: 23.92 kB / 444.7 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4631, allocations: 49.69 kB / 444.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4631, allocations: 3.953 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4632, allocations: 0 / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4632, allocations: 4 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.4637, allocations: 285.5 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.4638, allocations: 50.62 kB / 445.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.4639, allocations: 20.97 kB / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4639, allocations: 0 / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4641, allocations: 67.36 kB / 445.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.587e-06/0.4641, allocations: 4 kB / 445.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005519/0.4647, allocations: 157.1 kB / 445.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4647, allocations: 59.41 kB / 445.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.4649, allocations: 146.7 kB / 445.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.465, allocations: 29.7 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.4651, allocations: 162.6 kB / 445.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4652, allocations: 31.62 kB / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-06/0.4652, allocations: 0 / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4653, allocations: 315.5 kB / 446.1 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.4654, allocations: 32 kB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4656, allocations: 53.64 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4657, allocations: 35.98 kB / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4657, allocations: 0 / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003286/0.466, allocations: 125.5 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.4661, allocations: 45.72 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-06/0.4661, allocations: 3.953 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4662, allocations: 4 kB / 446.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4663, allocations: 12 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.4663, allocations: 3.938 kB / 446.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.4664, allocations: 7.984 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.4665, allocations: 4 kB / 446.4 MB, free: 6.27 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.0001073/0.4666, allocations: 108.9 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4666, allocations: 15.91 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4669, allocations: 114.2 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-06/0.467, allocations: 3.953 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-06/0.467, allocations: 0 / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-06/0.467, allocations: 0 / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.4676, allocations: 371.8 kB / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-06/0.4676, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.4677, allocations: 8 kB / 447 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-06/0.4677, allocations: 7.984 kB / 447 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4677, allocations: 7.984 kB / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-06/0.4677, allocations: 0 / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.105e-06/0.4678, allocations: 192 / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.4681, allocations: 217.9 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4682, allocations: 96.95 kB / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4682, allocations: 12 kB / 447.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4684, allocations: 0 / 447.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.4684, allocations: 7.984 kB / 447.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4684, allocations: 4 kB / 447.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4686, allocations: 119.3 kB / 447.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.69e-07/0.4686, allocations: 0 / 447.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.469, allocations: 43.92 kB / 447.5 MB, free: 5.051 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.001274/0.4703, allocations: 376.8 kB / 447.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.4707, allocations: 155.4 kB / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.064e-06/0.4707, allocations: 0 / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.4708, allocations: 27.94 kB / 448 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.4711, allocations: 23.03 kB / 448.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4716, allocations: 172 kB / 448.2 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.472, allocations: 0.7274 MB / 449 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.4721, allocations: 11.44 kB / 449 MB, free: 3.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.656e-06/0.4721, allocations: 0 / 449 MB, free: 3.562 MB / 378.7 MB Notification: Performance of Templates: time 0.004806/0.4769, allocations: 1.893 MB / 450.9 MB, free: 1.668 MB / 378.7 MB