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.Test18.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.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 235.1 MB / 243 MB, free: 9.508 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.104e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4198, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4201, allocations: 75.91 kB / 439.5 MB, free: 13.36 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. Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.4396, allocations: 4.465 MB / 444 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.289e-06/0.4396, allocations: 0 / 444 MB, free: 8.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.4397, allocations: 4 kB / 444 MB, free: 8.879 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.0005982/0.4403, allocations: 458.1 kB / 444.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4403, allocations: 12.03 kB / 444.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4404, allocations: 7.906 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.4408, allocations: 212.1 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4408, allocations: 4 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.4408, allocations: 4 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.417e-05/0.4409, allocations: 19.94 kB / 444.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4411, allocations: 53.67 kB / 444.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4411, allocations: 3.953 kB / 444.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4411, allocations: 0 / 444.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-06/0.4411, allocations: 8 kB / 444.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.4416, allocations: 277.5 kB / 445 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.4418, allocations: 54.62 kB / 445.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.4418, allocations: 20.98 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.4419, allocations: 0 / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.442, allocations: 71.34 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.447e-06/0.442, allocations: 0 / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.4426, allocations: 157.1 kB / 445.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.4427, allocations: 51.41 kB / 445.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4429, allocations: 150.7 kB / 445.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4429, allocations: 29.7 kB / 445.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4431, allocations: 158.6 kB / 445.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.4431, allocations: 31.64 kB / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.4431, allocations: 4 kB / 445.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4433, allocations: 311.5 kB / 446 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.4434, allocations: 32 kB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4435, allocations: 49.7 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.4436, allocations: 35.98 kB / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.4437, allocations: 0 / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003238/0.444, allocations: 129.5 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.4441, allocations: 41.69 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.75e-06/0.4441, allocations: 3.953 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4441, allocations: 0 / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4442, allocations: 12.09 kB / 446.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.4443, allocations: 7.938 kB / 446.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.4444, allocations: 11.92 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.4444, allocations: 7.938 kB / 446.4 MB, free: 6.266 MB / 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 () * 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.0001068/0.4445, allocations: 109 kB / 446.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4446, allocations: 11.91 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.4449, allocations: 110.2 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-06/0.4449, allocations: 7.953 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.607e-06/0.4449, allocations: 0 / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.4449, allocations: 0 / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.4455, allocations: 367.8 kB / 447 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.355e-06/0.4455, allocations: 4 kB / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.4456, allocations: 12 kB / 447 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.685e-06/0.4456, allocations: 7.984 kB / 447 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4456, allocations: 0 / 447 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.4457, allocations: 4 kB / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.245e-06/0.4457, allocations: 3.984 kB / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.446, allocations: 206 kB / 447.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4461, allocations: 101 kB / 447.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.4462, allocations: 4.188 kB / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4463, allocations: 8 kB / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.4463, allocations: 11.98 kB / 447.3 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4464, allocations: 7.984 kB / 447.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4465, allocations: 115.3 kB / 447.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.4465, allocations: 0 / 447.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.4469, allocations: 43.92 kB / 447.5 MB, free: 5.051 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001251/0.4482, allocations: 379.4 kB / 447.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4486, allocations: 155.4 kB / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.014e-06/0.4486, allocations: 3.938 kB / 448 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.4487, allocations: 28 kB / 448 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.449, allocations: 24.25 kB / 448.1 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.4495, allocations: 176.2 kB / 448.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4499, allocations: 0.7195 MB / 448.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.45, allocations: 15.44 kB / 449 MB, free: 3.555 MB / 378.7 MB Notification: Performance of SimCode: time 1.514e-06/0.45, allocations: 0 / 449 MB, free: 3.555 MB / 378.7 MB Notification: Performance of Templates: time 0.004698/0.4547, allocations: 1.886 MB / 450.8 MB, free: 1.668 MB / 378.7 MB