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.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.335e-05, allocations: 11.94 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.0855, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4247, allocations: 75.62 MB / 402.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4249, allocations: 71.09 kB / 402.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4402, allocations: 4.132 MB / 406.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.98e-06/0.4402, allocations: 0 / 406.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.4402, allocations: 0 / 406.4 MB, free: 8.43 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000352/0.4406, allocations: 421.6 kB / 406.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4406, allocations: 11.69 kB / 406.8 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.4407, allocations: 7.719 kB / 406.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4409, allocations: 220.1 kB / 407 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.441, allocations: 0 / 407 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.441, allocations: 7.719 kB / 407 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.4411, allocations: 37.38 kB / 407 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-06/0.4411, allocations: 0 / 407 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-06/0.4411, allocations: 4 kB / 407 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-06/0.4412, allocations: 3.938 kB / 407.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.4412, allocations: 15.02 kB / 407.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.4414, allocations: 190.7 kB / 407.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.4415, allocations: 33.75 kB / 407.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.4415, allocations: 11.98 kB / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.4415, allocations: 0 / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.4417, allocations: 61.92 kB / 407.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.203e-06/0.4417, allocations: 0 / 407.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001749/0.4419, allocations: 68.14 kB / 407.4 MB, free: 7.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.4419, allocations: 51.41 kB / 407.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.4421, allocations: 221.2 kB / 407.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4422, allocations: 29.45 kB / 407.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.4422, allocations: 168.4 kB / 407.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.4423, allocations: 11.66 kB / 407.9 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-06/0.4423, allocations: 4 kB / 407.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.4423, allocations: 318.6 kB / 408.2 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.4424, allocations: 14.91 kB / 408.2 MB, free: 6.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.4425, allocations: 18.34 kB / 408.2 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.4426, allocations: 53.88 kB / 408.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-06/0.4426, allocations: 0 / 408.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001905/0.4428, allocations: 104.1 kB / 408.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4428, allocations: 37.28 kB / 408.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.121e-06/0.4428, allocations: 0 / 408.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4429, allocations: 4 kB / 408.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.4429, allocations: 7.781 kB / 408.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.86e-06/0.4429, allocations: 3.938 kB / 408.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.443, allocations: 7.625 kB / 408.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.443, allocations: 3.906 kB / 408.5 MB, free: 6.535 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 5.406e-05/0.4431, allocations: 112.8 kB / 408.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.4431, allocations: 11.62 kB / 408.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.4433, allocations: 72.33 kB / 408.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4434, allocations: 7.875 kB / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-06/0.4434, allocations: 0 / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-06/0.4434, allocations: 0 / 408.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.4435, allocations: 191.4 kB / 408.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4435, allocations: 7.891 kB / 408.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.4436, allocations: 7.859 kB / 408.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-06/0.4436, allocations: 3.938 kB / 408.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-06/0.4436, allocations: 3.812 kB / 408.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.241e-06/0.4436, allocations: 0 / 408.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-06/0.4436, allocations: 0 / 408.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.4438, allocations: 91.62 kB / 409 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4438, allocations: 103.7 kB / 409.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4439, allocations: 0 / 409.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.4439, allocations: 3.938 kB / 409.1 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.444, allocations: 7.984 kB / 409.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-06/0.444, allocations: 0 / 409.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.4442, allocations: 186.1 kB / 409.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4442, allocations: 0 / 409.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000305/0.4445, allocations: 38.03 kB / 409.3 MB, free: 5.848 MB / 314.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0009101/0.4454, allocations: 313.8 kB / 409.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.4456, allocations: 100.9 kB / 409.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.389e-06/0.4456, allocations: 0 / 409.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.4457, allocations: 19.12 kB / 409.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.4459, allocations: 13.86 kB / 409.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.4463, allocations: 220.7 kB / 409.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4465, allocations: 0.7135 MB / 410.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4466, allocations: 15.3 kB / 410.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4466, allocations: 0 / 410.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of Templates: time 0.003677/0.4503, allocations: 1.707 MB / 412.4 MB, free: 3.871 MB / 314.7 MB