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.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.453e-05/3.467e-05, allocations: 8 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 54.86 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.5161, allocations: 82.09 MB / 446.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.5165, allocations: 71.97 kB / 446.7 MB, free: 14.29 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$t_new.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$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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.027/0.5435, allocations: 5.151 MB / 451.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.5435, allocations: 1.5 kB / 451.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.5436, allocations: 4 kB / 451.9 MB, free: 9.16 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.0007692/0.5444, allocations: 0.5437 MB / 452.4 MB, free: 8.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5444, allocations: 15.97 kB / 452.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.5445, allocations: 15.89 kB / 452.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.5451, allocations: 230.7 kB / 452.7 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.5451, allocations: 11.98 kB / 452.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.5451, allocations: 8 kB / 452.7 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.5454, allocations: 97.19 kB / 452.8 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5454, allocations: 3.953 kB / 452.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.5454, allocations: 0 / 452.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-06/0.5455, allocations: 0 / 452.8 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.5456, allocations: 39.92 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5459, allocations: 242.3 kB / 453.1 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.5462, allocations: 97.34 kB / 453.2 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.5463, allocations: 49.73 kB / 453.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.5464, allocations: 4.75 kB / 453.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.5466, allocations: 109.1 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.6e-06/0.5466, allocations: 0.8438 kB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004069/0.547, allocations: 142.2 kB / 453.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.5472, allocations: 136.5 kB / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.5474, allocations: 181.9 kB / 453.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.5475, allocations: 29.7 kB / 453.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5476, allocations: 170.8 kB / 454 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.5477, allocations: 27.64 kB / 454 MB, free: 6.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.5477, allocations: 4 kB / 454 MB, free: 6.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5479, allocations: 314.8 kB / 454.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.548, allocations: 49.39 kB / 454.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.5482, allocations: 97.08 kB / 454.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5484, allocations: 112.4 kB / 454.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-06/0.5484, allocations: 0 / 454.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000504/0.5489, allocations: 236.8 kB / 454.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.549, allocations: 67.48 kB / 454.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-06/0.5491, allocations: 8.25 kB / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5491, allocations: 0 / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.5493, allocations: 35.88 kB / 454.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.713e-06/0.5493, allocations: 3.938 kB / 454.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.5495, allocations: 27.83 kB / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.5495, allocations: 4 kB / 454.9 MB, free: 5.754 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001399/0.5496, allocations: 116.9 kB / 455 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.5497, allocations: 15.81 kB / 455.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.5501, allocations: 158.6 kB / 455.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.5502, allocations: 0 / 455.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.24e-06/0.5502, allocations: 3.953 kB / 455.2 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.794e-06/0.5502, allocations: 3.984 kB / 455.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.5505, allocations: 225.4 kB / 455.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-06/0.5505, allocations: 0 / 455.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.5506, allocations: 11.94 kB / 455.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.371e-06/0.5506, allocations: 4 kB / 455.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5506, allocations: 7.984 kB / 455.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.801e-06/0.5506, allocations: 4 kB / 455.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.461e-06/0.5507, allocations: 4 kB / 455.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.551, allocations: 184.3 kB / 455.7 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.5512, allocations: 104.9 kB / 455.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5512, allocations: 0 / 455.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5514, allocations: 12 kB / 455.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.5514, allocations: 23.81 kB / 455.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.5515, allocations: 4 kB / 455.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.5517, allocations: 156 kB / 455.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.34e-07/0.5517, allocations: 0 / 455.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004541/0.5522, allocations: 75.86 kB / 456 MB, free: 4.547 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002381/0.5545, allocations: 0.6619 MB / 456.7 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.5551, allocations: 258.7 kB / 456.9 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.235e-06/0.5551, allocations: 4.125 kB / 456.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5552, allocations: 44 kB / 457 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.5556, allocations: 39.17 kB / 457 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.5562, allocations: 224.5 kB / 457.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.5566, allocations: 0.7204 MB / 458 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.5567, allocations: 23.38 kB / 458 MB, free: 2.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5567, allocations: 0 / 458 MB, free: 2.59 MB / 378.7 MB Notification: Performance of Templates: time 0.007021/0.5638, allocations: 3.066 MB / 461 MB, free: 15.52 MB / 394.7 MB