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.33/2.33, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004378, allocations: 12 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4018, allocations: 82.19 MB / 451.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4021, allocations: 75.95 kB / 451.5 MB, free: 8.332 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.02129/0.4235, allocations: 5.347 MB / 456.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.4235, allocations: 4 kB / 456.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4235, allocations: 0 / 456.9 MB, free: 2.969 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.0007924/0.4243, allocations: 0.5754 MB / 457.5 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4244, allocations: 8.031 kB / 457.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.4244, allocations: 15.81 kB / 457.5 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.4249, allocations: 230.8 kB / 457.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4249, allocations: 8 kB / 457.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.425, allocations: 8 kB / 457.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.4252, allocations: 105 kB / 457.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.4253, allocations: 0 / 457.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.4253, allocations: 3.953 kB / 457.8 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4253, allocations: 4 kB / 457.8 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.4255, allocations: 35.91 kB / 457.9 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.4258, allocations: 238.4 kB / 458.1 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.4262, allocations: 105.3 kB / 458.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.4262, allocations: 7.922 kB / 458.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.4265, allocations: 121.1 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 6.272e-06/0.4265, allocations: 0 / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006328/0.4272, allocations: 185.7 kB / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.4273, allocations: 132.5 kB / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.4276, allocations: 189.7 kB / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4276, allocations: 33.7 kB / 458.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4278, allocations: 170.7 kB / 459 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.4278, allocations: 27.66 kB / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.4278, allocations: 0 / 459.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.428, allocations: 326.8 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4282, allocations: 47.97 kB / 459.4 MB, free: 148 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.4284, allocations: 97.12 kB / 459.5 MB, free: 32 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4287, allocations: 123.4 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-06/0.4287, allocations: 0 / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005874/0.4293, allocations: 244.8 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.4294, allocations: 71.39 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-06/0.4294, allocations: 4.094 kB / 460 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4294, allocations: 3.984 kB / 460 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4296, allocations: 23.94 kB / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4296, allocations: 7.938 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.4298, allocations: 19.84 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4298, allocations: 15.98 kB / 460 MB, free: 15.48 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.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 () * 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.0001751/0.43, allocations: 133.8 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.4301, allocations: 15.81 kB / 460.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.4306, allocations: 162.5 kB / 460.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4306, allocations: 4 kB / 460.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4306, allocations: 3.938 kB / 460.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4307, allocations: 3.953 kB / 460.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.4309, allocations: 221.5 kB / 460.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.431, allocations: 0 / 460.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.431, allocations: 11.98 kB / 460.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.606e-06/0.4311, allocations: 0 / 460.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4311, allocations: 4 kB / 460.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.329e-06/0.4311, allocations: 4 kB / 460.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4311, allocations: 0 / 460.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.4316, allocations: 203.3 kB / 460.8 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.4317, allocations: 104.9 kB / 460.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.4318, allocations: 8.297 kB / 460.9 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4319, allocations: 8 kB / 460.9 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.432, allocations: 19.94 kB / 460.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.432, allocations: 4 kB / 460.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.4322, allocations: 152.2 kB / 461.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.4322, allocations: 0 / 461.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.4327, allocations: 71.92 kB / 461.1 MB, free: 14.26 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,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) * 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.002616/0.4353, allocations: 0.7394 MB / 461.9 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.436, allocations: 262.7 kB / 462.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.091e-06/0.4361, allocations: 8.125 kB / 462.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.4362, allocations: 47.92 kB / 462.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4366, allocations: 39.69 kB / 462.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.4374, allocations: 313 kB / 462.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4378, allocations: 0.7242 MB / 463.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.4379, allocations: 27.42 kB / 463.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.921e-06/0.4379, allocations: 0 / 463.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of Templates: time 0.00682/0.4447, allocations: 3.059 MB / 466.3 MB, free: 9.047 MB / 394.7 MB