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.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.207e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2742, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4012, allocations: 81.5 MB / 439.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4015, allocations: 67.97 kB / 439.6 MB, free: 13.27 MB / 378.7 MB [/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.02806/0.4296, allocations: 6.689 MB / 446.3 MB, free: 6.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.4296, allocations: 4 kB / 446.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.4296, allocations: 4 kB / 446.3 MB, free: 6.551 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008427/0.4305, allocations: 0.5988 MB / 446.9 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4306, allocations: 8.031 kB / 446.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.4307, allocations: 23.72 kB / 446.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.4312, allocations: 274.5 kB / 447.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4312, allocations: 0 / 447.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.4313, allocations: 12 kB / 447.2 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/0.4314, allocations: 43.91 kB / 447.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.4316, allocations: 95.27 kB / 447.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4317, allocations: 0 / 447.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4317, allocations: 4 kB / 447.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4317, allocations: 0 / 447.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.4325, allocations: 473.4 kB / 447.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.4327, allocations: 105.5 kB / 447.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.4328, allocations: 37.84 kB / 448 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4329, allocations: 7.953 kB / 448 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.4331, allocations: 109 kB / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.639e-06/0.4331, allocations: 0 / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000973/0.4341, allocations: 308.2 kB / 448.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.4342, allocations: 81.11 kB / 448.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.4346, allocations: 306.1 kB / 448.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.4347, allocations: 37.64 kB / 448.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4349, allocations: 194.9 kB / 449 MB, free: 3.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.4349, allocations: 43.45 kB / 449 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.435, allocations: 0 / 449 MB, free: 3.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4351, allocations: 322.8 kB / 449.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4353, allocations: 60.19 kB / 449.4 MB, free: 3.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4355, allocations: 99.61 kB / 449.5 MB, free: 3.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4357, allocations: 79.95 kB / 449.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.48e-06/0.4358, allocations: 4 kB / 449.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005642/0.4363, allocations: 233.3 kB / 449.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/0.4364, allocations: 67.58 kB / 449.9 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.545e-06/0.4364, allocations: 4 kB / 449.9 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4365, allocations: 3.938 kB / 449.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.4367, allocations: 31.98 kB / 449.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4367, allocations: 64 / 449.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.4369, allocations: 15.94 kB / 449.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.4369, allocations: 19.98 kB / 449.9 MB, free: 2.633 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0001313/0.4371, allocations: 116.9 kB / 450.1 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.4372, allocations: 23.67 kB / 450.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.4377, allocations: 195.3 kB / 450.3 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.998e-06/0.4377, allocations: 4 kB / 450.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-06/0.4377, allocations: 4 kB / 450.3 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4378, allocations: 3.984 kB / 450.3 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4388, allocations: 0.6056 MB / 450.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.24e-06/0.4388, allocations: 4 kB / 450.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4389, allocations: 31.92 kB / 450.9 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.439, allocations: 4 kB / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.439, allocations: 0 / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.798e-06/0.439, allocations: 8.062 kB / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.458e-06/0.439, allocations: 320 / 450.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.4396, allocations: 407.8 kB / 451.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.4397, allocations: 120.8 kB / 451.5 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.4398, allocations: 4 kB / 451.5 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.44, allocations: 7.984 kB / 451.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.4401, allocations: 19.94 kB / 451.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4402, allocations: 8 kB / 451.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.4405, allocations: 241.9 kB / 451.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.4405, allocations: 192 / 451.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005767/0.4411, allocations: 91.86 kB / 451.8 MB, free: 0.6367 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001992/0.4431, allocations: 0.5509 MB / 452.4 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.4438, allocations: 310.7 kB / 452.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.46e-06/0.4438, allocations: 0 / 452.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4439, allocations: 59.92 kB / 452.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.4444, allocations: 33.47 kB / 452.8 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.4454, allocations: 386 kB / 453.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4458, allocations: 0.7514 MB / 453.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.446, allocations: 27.42 kB / 453.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.65e-06/0.446, allocations: 4 kB / 453.9 MB, free: 14.51 MB / 394.7 MB Notification: Performance of Templates: time 0.007772/0.4538, allocations: 3.601 MB / 457.5 MB, free: 10.92 MB / 394.7 MB