Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 224.9 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 282.6 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08896, allocations: 48.71 MB / 331.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.419, allocations: 76.08 MB / 407.4 MB, free: 9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4193, allocations: 75.97 kB / 407.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.4377, allocations: 4.664 MB / 412.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4377, allocations: 0 / 412.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4378, allocations: 4 kB / 412.1 MB, free: 4.266 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005563/0.4383, allocations: 412.8 kB / 412.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4384, allocations: 8.031 kB / 412.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.4384, allocations: 7.906 kB / 412.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.4387, allocations: 194.9 kB / 412.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4388, allocations: 4 kB / 412.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4388, allocations: 4 kB / 412.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4389, allocations: 59.39 kB / 412.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.439, allocations: 4 kB / 412.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.439, allocations: 0 / 412.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-06/0.439, allocations: 0 / 412.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.4391, allocations: 19.92 kB / 412.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4396, allocations: 288.8 kB / 413.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4398, allocations: 38.56 kB / 413.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4398, allocations: 4 kB / 413.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.44, allocations: 63.42 kB / 413.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.424e-06/0.44, allocations: 0 / 413.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004712/0.4405, allocations: 113.7 kB / 413.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.4406, allocations: 92.94 kB / 413.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.4408, allocations: 135 kB / 413.5 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.4408, allocations: 29.7 kB / 413.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.4409, allocations: 154.6 kB / 413.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4409, allocations: 15.75 kB / 413.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-06/0.441, allocations: 0 / 413.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4411, allocations: 322.8 kB / 414 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.4412, allocations: 16 kB / 414.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.4413, allocations: 41.64 kB / 414.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.4414, allocations: 49.7 kB / 414.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.4414, allocations: 0 / 414.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002541/0.4417, allocations: 119.3 kB / 414.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.4417, allocations: 34.8 kB / 414.3 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4418, allocations: 0 / 414.3 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4418, allocations: 4.031 kB / 414.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.4419, allocations: 11.98 kB / 414.3 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.556e-06/0.4419, allocations: 0 / 414.3 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.442, allocations: 11.98 kB / 414.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.442, allocations: 4 kB / 414.3 MB, free: 1.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001244/0.4421, allocations: 117.8 kB / 414.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.4422, allocations: 7.906 kB / 414.4 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.4424, allocations: 89.62 kB / 414.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-06/0.4424, allocations: 0 / 414.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4424, allocations: 0 / 414.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-06/0.4425, allocations: 0 / 414.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.443, allocations: 354.5 kB / 414.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-06/0.443, allocations: 0 / 414.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.443, allocations: 8 kB / 414.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.504e-06/0.443, allocations: 0 / 414.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4431, allocations: 0 / 414.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.144e-06/0.4431, allocations: 4 kB / 414.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-06/0.4431, allocations: 3.953 kB / 414.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4433, allocations: 175.4 kB / 415.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.4434, allocations: 85.02 kB / 415.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4435, allocations: 4.25 kB / 415.2 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4436, allocations: 7.984 kB / 415.2 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4436, allocations: 15.97 kB / 415.2 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4437, allocations: 7.891 kB / 415.2 MB, free: 0.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.4438, allocations: 108 kB / 415.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.87e-07/0.4438, allocations: 0 / 415.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004033/0.4442, allocations: 47.94 kB / 415.3 MB, free: 0.6797 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001433/0.4457, allocations: 458 kB / 415.8 MB, free: 324 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4459, allocations: 103.4 kB / 415.9 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-06/0.446, allocations: 0 / 415.9 MB, free: 208 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.446, allocations: 23.92 kB / 415.9 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.4463, allocations: 15.98 kB / 415.9 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.4468, allocations: 199.5 kB / 416.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4472, allocations: 0.6926 MB / 416.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.4473, allocations: 19.42 kB / 416.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4473, allocations: 0 / 416.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of Templates: time 0.004599/0.4519, allocations: 1.891 MB / 418.7 MB, free: 13.31 MB / 346.7 MB