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/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.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.14/2.14, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.411e-05, allocations: 8 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3587, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4795, allocations: 81.42 MB / 439.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4797, allocations: 71.97 kB / 439.5 MB, free: 13.33 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.02006/0.4998, allocations: 5.007 MB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.681e-06/0.4998, allocations: 0 / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4999, allocations: 7.938 kB / 444.6 MB, free: 8.312 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.0007413/0.5006, allocations: 0.5437 MB / 445.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5007, allocations: 12.03 kB / 445.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.5008, allocations: 19.75 kB / 445.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.5012, allocations: 230.7 kB / 445.4 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.5013, allocations: 8 kB / 445.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.5013, allocations: 8 kB / 445.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.5014, allocations: 27.98 kB / 445.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.5016, allocations: 109 kB / 445.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-06/0.5017, allocations: 0 / 445.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5017, allocations: 0 / 445.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5017, allocations: 0 / 445.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.502, allocations: 211 kB / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.5022, allocations: 93.98 kB / 445.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.5023, allocations: 37.89 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.5024, allocations: 0 / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.5026, allocations: 109.1 kB / 445.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.861e-06/0.5026, allocations: 0 / 445.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003867/0.503, allocations: 133.4 kB / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.5031, allocations: 140.5 kB / 446.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.5034, allocations: 179 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.5034, allocations: 29.7 kB / 446.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5036, allocations: 162.8 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.5036, allocations: 39.53 kB / 446.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.5037, allocations: 4 kB / 446.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5038, allocations: 314.8 kB / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.504, allocations: 43.98 kB / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.5041, allocations: 89.69 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.5043, allocations: 47.92 kB / 447.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.533e-06/0.5043, allocations: 4 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004178/0.5047, allocations: 165.4 kB / 447.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/0.5048, allocations: 67.39 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-06/0.5048, allocations: 0 / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5049, allocations: 3.984 kB / 447.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.505, allocations: 20.09 kB / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-06/0.5051, allocations: 4 kB / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5052, allocations: 27.78 kB / 447.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5053, allocations: 8 kB / 447.4 MB, free: 5.156 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.0001271/0.5054, allocations: 118.5 kB / 447.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.5054, allocations: 15.81 kB / 447.5 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.5058, allocations: 143.5 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.342e-06/0.5059, allocations: 4 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.328e-06/0.5059, allocations: 12.05 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-06/0.5059, allocations: 0 / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.5061, allocations: 198 kB / 447.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5062, allocations: 0 / 447.9 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.5062, allocations: 11.98 kB / 447.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.631e-06/0.5063, allocations: 4 kB / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.5063, allocations: 0 / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-06/0.5063, allocations: 0 / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.126e-06/0.5063, allocations: 4 kB / 447.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.5067, allocations: 191.2 kB / 448.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5068, allocations: 108.9 kB / 448.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.5069, allocations: 0 / 448.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.507, allocations: 11.92 kB / 448.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.507, allocations: 11.98 kB / 448.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5071, allocations: 8 kB / 448.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.5073, allocations: 147.1 kB / 448.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.5073, allocations: 0 / 448.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.5077, allocations: 67.92 kB / 448.4 MB, free: 4.02 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.002071/0.5098, allocations: 0.602 MB / 449 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.5103, allocations: 254.7 kB / 449.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5103, allocations: 0 / 449.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.5105, allocations: 35.98 kB / 449.3 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5108, allocations: 48.64 kB / 449.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.5114, allocations: 205 kB / 449.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5118, allocations: 0.7241 MB / 450.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.5119, allocations: 27.42 kB / 450.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.979e-06/0.5119, allocations: 0 / 450.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of Templates: time 0.006793/0.5187, allocations: 3.06 MB / 453.4 MB, free: 15.06 MB / 394.7 MB