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.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 12 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4005, allocations: 82.36 MB / 451.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4007, allocations: 79.94 kB / 451.7 MB, free: 8.168 MB / 378.7 MB [/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. Notification: Performance of FrontEnd - DAE generated: time 0.02054/0.4213, allocations: 5.156 MB / 456.9 MB, free: 3 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.074e-06/0.4213, allocations: 0 / 456.9 MB, free: 3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4214, allocations: 4 kB / 456.9 MB, free: 2.996 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006249/0.422, allocations: 470.2 kB / 457.3 MB, free: 2.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.4221, allocations: 8.031 kB / 457.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.4221, allocations: 11.91 kB / 457.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.4225, allocations: 199 kB / 457.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4225, allocations: 0 / 457.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4225, allocations: 7.906 kB / 457.6 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4227, allocations: 68.23 kB / 457.6 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4228, allocations: 0 / 457.6 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.4228, allocations: 11.89 kB / 457.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-06/0.4228, allocations: 0 / 457.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.4229, allocations: 27.97 kB / 457.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.4234, allocations: 308.8 kB / 458 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4236, allocations: 58.67 kB / 458 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4237, allocations: 0 / 458 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4238, allocations: 79.41 kB / 458.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.269e-06/0.4239, allocations: 0 / 458.1 MB, free: 1.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006952/0.4246, allocations: 173.4 kB / 458.3 MB, free: 1.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.4247, allocations: 81.05 kB / 458.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.4248, allocations: 136.4 kB / 458.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4249, allocations: 29.7 kB / 458.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.425, allocations: 166.5 kB / 458.7 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.425, allocations: 27.66 kB / 458.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-06/0.4251, allocations: 0 / 458.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4252, allocations: 318.8 kB / 459 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4253, allocations: 27.98 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4255, allocations: 54.56 kB / 459.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.4256, allocations: 69.69 kB / 459.2 MB, free: 476 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-06/0.4257, allocations: 0 / 459.2 MB, free: 476 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003655/0.426, allocations: 159.3 kB / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.4261, allocations: 33.69 kB / 459.4 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.141e-06/0.4261, allocations: 4 kB / 459.4 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4261, allocations: 0 / 459.4 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4263, allocations: 16 kB / 459.4 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4263, allocations: 3.984 kB / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.4264, allocations: 4 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.4264, allocations: 11.94 kB / 459.4 MB, free: 224 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000131/0.4266, allocations: 121.9 kB / 459.5 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4266, allocations: 11.86 kB / 459.5 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.427, allocations: 126.2 kB / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-06/0.427, allocations: 4 kB / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-06/0.427, allocations: 0 / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.427, allocations: 7.922 kB / 459.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.4277, allocations: 407.2 kB / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-06/0.4277, allocations: 0 / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.4278, allocations: 11.98 kB / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4278, allocations: 0 / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4278, allocations: 8 kB / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.78e-06/0.4278, allocations: 0 / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.855e-06/0.4278, allocations: 0 / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.4282, allocations: 222.1 kB / 460.3 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.4283, allocations: 97 kB / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.4284, allocations: 7.984 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4285, allocations: 4 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4285, allocations: 4 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4286, allocations: 7.984 kB / 460.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.4287, allocations: 107.3 kB / 460.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.898e-06/0.4287, allocations: 0 / 460.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.4291, allocations: 63.86 kB / 460.6 MB, free: 14.91 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001854/0.431, allocations: 0.5511 MB / 461.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.4314, allocations: 151.3 kB / 461.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.329e-06/0.4314, allocations: 0 / 461.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4315, allocations: 31.98 kB / 461.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.4319, allocations: 19.98 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.4324, allocations: 244.1 kB / 461.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4328, allocations: 0.7043 MB / 462.3 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.4329, allocations: 19.44 kB / 462.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.371e-06/0.4329, allocations: 0 / 462.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of Templates: time 0.004937/0.4379, allocations: 2.096 MB / 464.4 MB, free: 11.11 MB / 394.7 MB