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.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 235.1 MB / 243 MB, free: 9.508 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.911e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4408, allocations: 81.39 MB / 439.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.441, allocations: 75.91 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.02042/0.4615, allocations: 4.958 MB / 444.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.4615, allocations: 4 kB / 444.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4615, allocations: 0 / 444.5 MB, free: 8.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005882/0.4621, allocations: 470.1 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4622, allocations: 8.031 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4623, allocations: 11.91 kB / 444.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.4626, allocations: 206.9 kB / 445.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4627, allocations: 0 / 445.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.4627, allocations: 8 kB / 445.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001528/0.4629, allocations: 55.86 kB / 445.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.463, allocations: 65.66 kB / 445.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4631, allocations: 4 kB / 445.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4631, allocations: 0 / 445.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-06/0.4631, allocations: 0 / 445.3 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.4636, allocations: 321.2 kB / 445.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4639, allocations: 82.67 kB / 445.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.464, allocations: 36.73 kB / 445.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.464, allocations: 4 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.4642, allocations: 79.33 kB / 445.8 MB, free: 6.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 6.557e-06/0.4642, allocations: 3.984 kB / 445.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006643/0.4649, allocations: 197.9 kB / 446 MB, free: 6.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.465, allocations: 59.41 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.4652, allocations: 174.4 kB / 446.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4652, allocations: 25.7 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4654, allocations: 166.7 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.4654, allocations: 31.78 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.4654, allocations: 4 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4656, allocations: 314.8 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.4657, allocations: 43.98 kB / 446.8 MB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4659, allocations: 61.7 kB / 446.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.466, allocations: 51.98 kB / 446.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.5e-06/0.466, allocations: 0 / 446.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003895/0.4664, allocations: 161.5 kB / 447.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.4665, allocations: 40.34 kB / 447.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4665, allocations: 0 / 447.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4666, allocations: 4.094 kB / 447.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4667, allocations: 23.92 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.001e-06/0.4667, allocations: 4.172 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.4668, allocations: 8.031 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.4669, allocations: 8 kB / 447.1 MB, free: 5.5 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 (13): * Single equations (assignments): 12 * 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.0001049/0.467, allocations: 107.4 kB / 447.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.467, allocations: 19.77 kB / 447.3 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.4674, allocations: 163.4 kB / 447.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-06/0.4675, allocations: 0 / 447.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-06/0.4675, allocations: 0 / 447.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-06/0.4675, allocations: 0 / 447.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.4682, allocations: 451.7 kB / 447.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-06/0.4682, allocations: 0 / 447.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.304e-05/0.4683, allocations: 23.92 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.415e-06/0.4683, allocations: 0 / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4684, allocations: 4 kB / 447.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.922e-06/0.4684, allocations: 4 kB / 447.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.04e-06/0.4684, allocations: 0 / 447.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.4688, allocations: 246 kB / 448.1 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4689, allocations: 108.9 kB / 448.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.469, allocations: 4 kB / 448.3 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4691, allocations: 0 / 448.3 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.4692, allocations: 11.98 kB / 448.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.4692, allocations: 4 kB / 448.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.4694, allocations: 143.9 kB / 448.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.305e-06/0.4694, allocations: 0 / 448.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.4698, allocations: 43.88 kB / 448.5 MB, free: 4.09 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 (13): * Single equations (assignments): 11 * 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.00126/0.471, allocations: 374.4 kB / 448.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.4714, allocations: 183.3 kB / 449 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-06/0.4714, allocations: 0 / 449 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4716, allocations: 51.92 kB / 449 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4719, allocations: 20.55 kB / 449.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.4724, allocations: 200.4 kB / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.4728, allocations: 0.7276 MB / 450 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.662e-05/0.4729, allocations: 23.36 kB / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.622e-06/0.4729, allocations: 0 / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of Templates: time 0.005051/0.478, allocations: 2.172 MB / 452.2 MB, free: 348 kB / 378.7 MB