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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.257e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08725, allocations: 48.71 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4295, allocations: 76.52 MB / 403.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4297, allocations: 70.52 kB / 403.1 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.4412, allocations: 3.188 MB / 406.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.881e-06/0.4413, allocations: 4 kB / 406.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4413, allocations: 3.844 kB / 406.3 MB, free: 8.598 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00046/0.4418, allocations: 458.6 kB / 406.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4418, allocations: 11.44 kB / 406.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.4419, allocations: 15.02 kB / 406.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.4421, allocations: 212.4 kB / 407 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4421, allocations: 0 / 407 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.4422, allocations: 15.28 kB / 407 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4423, allocations: 63.5 kB / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.858e-06/0.4424, allocations: 0 / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.4424, allocations: 3.438 kB / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-06/0.4424, allocations: 0 / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.4425, allocations: 29.52 kB / 407.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.443, allocations: 360.6 kB / 407.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4432, allocations: 63.91 kB / 407.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.4433, allocations: 27.86 kB / 407.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4434, allocations: 3.375 kB / 407.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.4435, allocations: 73.45 kB / 407.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.608e-06/0.4435, allocations: 0 / 407.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.4438, allocations: 89.66 kB / 407.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4438, allocations: 59.33 kB / 407.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.4439, allocations: 147.2 kB / 407.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.444, allocations: 25.81 kB / 408 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.444, allocations: 173.5 kB / 408.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.4441, allocations: 19.58 kB / 408.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-06/0.4441, allocations: 11.28 kB / 408.2 MB, free: 7.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.4442, allocations: 314.8 kB / 408.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.4442, allocations: 25.62 kB / 408.5 MB, free: 6.703 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.4443, allocations: 51.23 kB / 408.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.4444, allocations: 56.44 kB / 408.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-06/0.4444, allocations: 0 / 408.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002437/0.4447, allocations: 142.1 kB / 408.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4447, allocations: 37.33 kB / 408.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.471e-06/0.4448, allocations: 3.984 kB / 408.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4448, allocations: 0 / 408.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4449, allocations: 15.44 kB / 408.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-06/0.4449, allocations: 0 / 408.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.445, allocations: 26.62 kB / 408.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.445, allocations: 3.812 kB / 408.8 MB, free: 6.508 MB / 314.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 6.097e-05/0.4451, allocations: 111.9 kB / 408.9 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4451, allocations: 11.66 kB / 408.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.4454, allocations: 102.1 kB / 409 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-06/0.4454, allocations: 0 / 409 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-06/0.4454, allocations: 3.781 kB / 409 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-06/0.4454, allocations: 0 / 409 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4456, allocations: 198.9 kB / 409.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4456, allocations: 0 / 409.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.4457, allocations: 15.33 kB / 409.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-06/0.4457, allocations: 0 / 409.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4458, allocations: 3.875 kB / 409.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-06/0.4458, allocations: 4 kB / 409.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4458, allocations: 0 / 409.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.4461, allocations: 154.9 kB / 409.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.4461, allocations: 84.86 kB / 409.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4462, allocations: 11.39 kB / 409.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.4463, allocations: 3.844 kB / 409.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4463, allocations: 7.891 kB / 409.5 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4464, allocations: 4 kB / 409.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.4465, allocations: 121.1 kB / 409.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4465, allocations: 0 / 409.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.4468, allocations: 38.59 kB / 409.7 MB, free: 5.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0009036/0.4477, allocations: 309.5 kB / 410 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.448, allocations: 125.4 kB / 410.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.429e-06/0.448, allocations: 64 / 410.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.4481, allocations: 32.88 kB / 410.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4483, allocations: 22.41 kB / 410.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.4488, allocations: 193.2 kB / 410.3 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.4489, allocations: 0.711 MB / 411.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.449, allocations: 15.27 kB / 411.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of SimCode: time 1.421e-06/0.449, allocations: 4.188 kB / 411.1 MB, free: 4.695 MB / 314.7 MB Notification: Performance of Templates: time 0.003822/0.4528, allocations: 1.868 MB / 412.9 MB, free: 3.754 MB / 314.7 MB