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.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.95e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 54.86 MB / 364.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4378, allocations: 81.92 MB / 446.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4381, allocations: 75.95 kB / 446.5 MB, free: 14.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02345/0.4616, allocations: 5.987 MB / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.4616, allocations: 0 / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.4617, allocations: 4 kB / 452.5 MB, free: 8.398 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.0009896/0.4627, allocations: 0.7264 MB / 453.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4627, allocations: 12.03 kB / 453.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4628, allocations: 51.34 kB / 453.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000997/0.4638, allocations: 475.1 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4639, allocations: 4 kB / 453.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.4639, allocations: 8 kB / 453.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4642, allocations: 91.27 kB / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-06/0.4642, allocations: 0 / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4642, allocations: 4 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4642, allocations: 4 kB / 453.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.4644, allocations: 27.98 kB / 453.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.465, allocations: 410.2 kB / 454.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.4653, allocations: 105.4 kB / 454.4 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.4654, allocations: 41.7 kB / 454.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4654, allocations: 0 / 454.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.4657, allocations: 113.1 kB / 454.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.807e-06/0.4657, allocations: 0 / 454.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005272/0.4662, allocations: 181 kB / 454.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4663, allocations: 77.11 kB / 454.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4682, allocations: 0.9303 MB / 455.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.4683, allocations: 33.7 kB / 455.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.4685, allocations: 254.8 kB / 456 MB, free: 4.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.4686, allocations: 23.7 kB / 456.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.4686, allocations: 4 kB / 456.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4688, allocations: 318.8 kB / 456.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.469, allocations: 63.94 kB / 456.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.4692, allocations: 91.36 kB / 456.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.4694, allocations: 131.3 kB / 456.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-06/0.4694, allocations: 0 / 456.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005886/0.47, allocations: 264.8 kB / 456.9 MB, free: 3.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.4701, allocations: 71.45 kB / 457 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.802e-06/0.4701, allocations: 4 kB / 457 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4702, allocations: 4.203 kB / 457 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.4703, allocations: 23.98 kB / 457 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.4704, allocations: 7.938 kB / 457 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.4706, allocations: 27.75 kB / 457 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.4707, allocations: 15.92 kB / 457.1 MB, free: 3.531 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001205/0.4708, allocations: 117 kB / 457.2 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4709, allocations: 47.44 kB / 457.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.4714, allocations: 201.5 kB / 457.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.135e-06/0.4714, allocations: 4 kB / 457.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.481e-06/0.4715, allocations: 3.953 kB / 457.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.4715, allocations: 0 / 457.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.472, allocations: 377.4 kB / 457.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.472, allocations: 3.938 kB / 457.8 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.4721, allocations: 11.98 kB / 457.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-06/0.4721, allocations: 4 kB / 457.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4722, allocations: 4 kB / 457.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.88e-06/0.4722, allocations: 7.938 kB / 457.8 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-06/0.4722, allocations: 4 kB / 457.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.4726, allocations: 219.6 kB / 458 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.473, allocations: 196.4 kB / 458.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.4731, allocations: 8 kB / 458.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.4733, allocations: 15.94 kB / 458.3 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.4733, allocations: 11.94 kB / 458.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.4734, allocations: 11.98 kB / 458.3 MB, free: 2.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.4746, allocations: 0.7279 MB / 459 MB, free: 1.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4746, allocations: 0 / 459 MB, free: 1.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.4752, allocations: 111.9 kB / 459.1 MB, free: 1.359 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001931/0.4771, allocations: 0.5331 MB / 459.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.4777, allocations: 298.7 kB / 459.9 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.806e-06/0.4778, allocations: 0 / 459.9 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4779, allocations: 43.94 kB / 460 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.4784, allocations: 57.44 kB / 460 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.4802, allocations: 0.8117 MB / 460.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.4809, allocations: 0.8507 MB / 461.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.481, allocations: 39.44 kB / 461.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.847e-06/0.481, allocations: 0 / 461.7 MB, free: 14.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01353/0.4946, allocations: 5.899 MB / 467.6 MB, free: 8.82 MB / 394.7 MB