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.Test68.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.Test68,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.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 12 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4043, allocations: 82.01 MB / 451.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4046, allocations: 83.73 kB / 451.4 MB, free: 8.496 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.02319/0.4278, allocations: 5.948 MB / 457.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.088e-06/0.4278, allocations: 0 / 457.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.4279, allocations: 15.88 kB / 457.3 MB, free: 2.516 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.001221/0.4291, allocations: 0.8196 MB / 458.2 MB, free: 1.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4292, allocations: 8.031 kB / 458.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4293, allocations: 51.34 kB / 458.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/0.4303, allocations: 467.2 kB / 458.7 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4303, allocations: 4 kB / 458.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.4304, allocations: 11.94 kB / 458.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.4307, allocations: 88.08 kB / 458.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4308, allocations: 3.953 kB / 458.8 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.4308, allocations: 3.984 kB / 458.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4308, allocations: 0 / 458.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.4311, allocations: 43.97 kB / 458.8 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.4317, allocations: 402.2 kB / 459.2 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.4321, allocations: 109.3 kB / 459.3 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.4321, allocations: 8 kB / 459.3 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.4324, allocations: 113 kB / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.542e-06/0.4324, allocations: 0 / 459.4 MB, free: 200 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007171/0.4331, allocations: 217.3 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.4332, allocations: 77.11 kB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.4349, allocations: 0.912 MB / 460.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.435, allocations: 29.7 kB / 460.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4352, allocations: 258.7 kB / 460.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.4353, allocations: 31.69 kB / 460.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.4353, allocations: 4 kB / 461 MB, free: 14.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4355, allocations: 318.8 kB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.4357, allocations: 59.97 kB / 461.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.436, allocations: 99.33 kB / 461.4 MB, free: 14.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.4362, allocations: 131.4 kB / 461.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.004e-06/0.4363, allocations: 0 / 461.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000676/0.4369, allocations: 276.8 kB / 461.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.695e-05/0.437, allocations: 71.39 kB / 461.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.9e-06/0.4371, allocations: 4.062 kB / 461.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4371, allocations: 192 / 461.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4373, allocations: 31.92 kB / 461.9 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.345e-06/0.4373, allocations: 7.891 kB / 461.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4375, allocations: 27.78 kB / 462 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.4376, allocations: 8 kB / 462 MB, free: 13.56 MB / 394.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 () * Number of clocked 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.000331/0.4379, allocations: 217.8 kB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4381, allocations: 59.34 kB / 462.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.4387, allocations: 201.3 kB / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.837e-06/0.4387, allocations: 4 kB / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.114e-06/0.4387, allocations: 0 / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.828e-06/0.4387, allocations: 3.953 kB / 462.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.4392, allocations: 377.3 kB / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4392, allocations: 0 / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.4393, allocations: 19.92 kB / 462.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4393, allocations: 0 / 462.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4394, allocations: 4 kB / 462.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-06/0.4394, allocations: 4 kB / 462.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-06/0.4394, allocations: 0 / 462.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.4399, allocations: 238.9 kB / 463.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.4403, allocations: 192.4 kB / 463.3 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.4404, allocations: 4 kB / 463.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4406, allocations: 19.98 kB / 463.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.4407, allocations: 11.94 kB / 463.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.4407, allocations: 4 kB / 463.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.4419, allocations: 0.7174 MB / 464 MB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.4419, allocations: 3.938 kB / 464 MB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.4424, allocations: 103.9 kB / 464.1 MB, free: 11.29 MB / 394.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) * Number of clocked states: 0 () * 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.00208/0.4445, allocations: 0.5986 MB / 464.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.4452, allocations: 294.7 kB / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.263e-06/0.4452, allocations: 0 / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.4454, allocations: 47.91 kB / 465.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.4459, allocations: 58.41 kB / 465.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4478, allocations: 1.012 MB / 466.1 MB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.4484, allocations: 0.8507 MB / 467 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.4486, allocations: 39.42 kB / 467 MB, free: 8.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.618e-06/0.4486, allocations: 0 / 467 MB, free: 8.391 MB / 394.7 MB Notification: Performance of Templates: time 0.01215/0.4608, allocations: 5.777 MB / 472.8 MB, free: 2.609 MB / 394.7 MB