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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.085e-05, allocations: 8 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.275, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4005, allocations: 81.36 MB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4008, allocations: 71.89 kB / 439.5 MB, free: 13.4 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.0194/0.4202, allocations: 4.462 MB / 443.9 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.4203, allocations: 8 kB / 443.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.4203, allocations: 0 / 443.9 MB, free: 8.93 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.0006294/0.4209, allocations: 461.5 kB / 444.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.421, allocations: 12.03 kB / 444.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.4211, allocations: 7.906 kB / 444.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.4214, allocations: 210.8 kB / 444.6 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.4215, allocations: 0 / 444.6 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4215, allocations: 4 kB / 444.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.235e-05/0.4216, allocations: 23.98 kB / 444.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4218, allocations: 49.69 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4218, allocations: 3.953 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4218, allocations: 3.984 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-06/0.4218, allocations: 0 / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.4223, allocations: 289.4 kB / 445 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4225, allocations: 54.62 kB / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.4225, allocations: 20.98 kB / 445.1 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4226, allocations: 4 kB / 445.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.4227, allocations: 67.34 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.921e-06/0.4228, allocations: 0 / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000574/0.4233, allocations: 165.1 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.4234, allocations: 55.41 kB / 445.3 MB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.4237, allocations: 174.5 kB / 445.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.4237, allocations: 29.7 kB / 445.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4238, allocations: 162.6 kB / 445.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4239, allocations: 27.64 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.4239, allocations: 0 / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4241, allocations: 315.5 kB / 446 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.4242, allocations: 32 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.4243, allocations: 49.64 kB / 446.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4244, allocations: 39.98 kB / 446.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-06/0.4244, allocations: 7.938 kB / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003289/0.4248, allocations: 121.6 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.4248, allocations: 37.69 kB / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.545e-06/0.4249, allocations: 3.953 kB / 446.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4249, allocations: 4 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.425, allocations: 19.92 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.425, allocations: 0 / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.4251, allocations: 4 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4252, allocations: 12.03 kB / 446.4 MB, free: 6.273 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.0001113/0.4253, allocations: 108.9 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.4253, allocations: 11.91 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.4257, allocations: 111.4 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-06/0.4257, allocations: 3.953 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-06/0.4257, allocations: 0 / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4257, allocations: 0 / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.4263, allocations: 395.8 kB / 447 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4264, allocations: 0 / 447 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.4264, allocations: 8 kB / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.421e-06/0.4264, allocations: 3.953 kB / 447 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4265, allocations: 4 kB / 447 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-06/0.4265, allocations: 0 / 447 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-06/0.4265, allocations: 0 / 447 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.4268, allocations: 222.1 kB / 447.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4269, allocations: 104.9 kB / 447.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.427, allocations: 3.984 kB / 447.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4271, allocations: 7.984 kB / 447.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.4272, allocations: 0 / 447.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4272, allocations: 7.984 kB / 447.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.4274, allocations: 140 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.4274, allocations: 4 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004098/0.4278, allocations: 39.94 kB / 447.5 MB, free: 5.012 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.001273/0.4291, allocations: 378.9 kB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4294, allocations: 155.3 kB / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4295, allocations: 4.062 kB / 448 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.4295, allocations: 24 kB / 448.1 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4299, allocations: 20.59 kB / 448.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.4304, allocations: 200.2 kB / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.4308, allocations: 0.7157 MB / 449 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4309, allocations: 27.48 kB / 449 MB, free: 3.492 MB / 378.7 MB Notification: Performance of SimCode: time 1.761e-06/0.4309, allocations: 0 / 449 MB, free: 3.492 MB / 378.7 MB Notification: Performance of Templates: time 0.007309/0.4382, allocations: 1.949 MB / 451 MB, free: 1.543 MB / 378.7 MB