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.Test26.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.Test26,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.Test26") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.3 MB / 224.8 MB, free: 1.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004408, allocations: 16 kB / 282.5 MB, free: 9.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08795, allocations: 48.71 MB / 331.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002159/0.09015, allocations: 1.29 MB / 332.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.09113, allocations: 420.7 kB / 332.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.09119, allocations: 0 / 332.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.09146, allocations: 27.84 kB / 332.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.09164, allocations: 35.89 kB / 333 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.09186, allocations: 55.81 kB / 333 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.09202, allocations: 51.94 kB / 333.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.09212, allocations: 15.95 kB / 333.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.0922, allocations: 27.86 kB / 333.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.09228, allocations: 19.92 kB / 333.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.09231, allocations: 7.984 kB / 333.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.09244, allocations: 35.92 kB / 333.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.0925, allocations: 23.86 kB / 333.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.09256, allocations: 33.64 kB / 333.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.09277, allocations: 84.11 kB / 333.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.579e-06/0.09278, allocations: 0 / 333.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.09279, allocations: 0 / 333.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.572e-06/0.09281, allocations: 0 / 333.3 MB, free: 6.809 MB / 282.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.0005649/0.09339, allocations: 404.8 kB / 333.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.09343, allocations: 11.97 kB / 333.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.09349, allocations: 7.906 kB / 333.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.09376, allocations: 203.4 kB / 333.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.09379, allocations: 4 kB / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.09383, allocations: 0 / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.09397, allocations: 45.67 kB / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.09399, allocations: 0 / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.09401, allocations: 4 kB / 334 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-06/0.09403, allocations: 0 / 334 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.0941, allocations: 11.94 kB / 334 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.09453, allocations: 288.8 kB / 334.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.09476, allocations: 42.56 kB / 334.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.09479, allocations: 0 / 334.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.09498, allocations: 63.41 kB / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.44e-06/0.095, allocations: 0 / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004488/0.09545, allocations: 113.3 kB / 334.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.09552, allocations: 55.41 kB / 334.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.09577, allocations: 186.3 kB / 334.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.09581, allocations: 25.7 kB / 334.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.09592, allocations: 162.6 kB / 334.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.09598, allocations: 23.73 kB / 334.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-06/0.09599, allocations: 0 / 334.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.09617, allocations: 318.8 kB / 335.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.09624, allocations: 20 kB / 335.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.0963, allocations: 15.98 kB / 335.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.0964, allocations: 53.7 kB / 335.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-06/0.09641, allocations: 96 / 335.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002291/0.09665, allocations: 119.2 kB / 335.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.09672, allocations: 37.69 kB / 335.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-06/0.09673, allocations: 0 / 335.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.09675, allocations: 0 / 335.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.09683, allocations: 8 kB / 335.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.09684, allocations: 0 / 335.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.09692, allocations: 4.062 kB / 335.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.09695, allocations: 15.94 kB / 335.5 MB, free: 4.371 MB / 282.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.0001561/0.09712, allocations: 133.7 kB / 335.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.09716, allocations: 7.906 kB / 335.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.09722, allocations: 12.31 kB / 335.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-06/0.09723, allocations: 0 / 335.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.527e-06/0.09725, allocations: 0 / 335.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.946e-06/0.09727, allocations: 7.984 kB / 335.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.09774, allocations: 330.5 kB / 336 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-06/0.09776, allocations: 0 / 336 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.09781, allocations: 8 kB / 336 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.378e-06/0.09782, allocations: 0 / 336 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.09784, allocations: 4 kB / 336 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.681e-06/0.09786, allocations: 3.984 kB / 336 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.09787, allocations: 3.938 kB / 336 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.09809, allocations: 167.4 kB / 336.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.09817, allocations: 89.02 kB / 336.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.09821, allocations: 0 / 336.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.09831, allocations: 4 kB / 336.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.09836, allocations: 7.984 kB / 336.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.09839, allocations: 0 / 336.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.09856, allocations: 142.1 kB / 336.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.09858, allocations: 4 kB / 336.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.09895, allocations: 27.95 kB / 336.4 MB, free: 3.336 MB / 282.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 (5): * Single equations (assignments): 4 * 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.001216/0.1002, allocations: 378.3 kB / 336.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1004, allocations: 107.3 kB / 336.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.987e-06/0.1005, allocations: 0 / 336.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.1005, allocations: 23.94 kB / 336.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1008, allocations: 15.98 kB / 337 MB, free: 2.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.1013, allocations: 234.9 kB / 337.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1018, allocations: 0.7043 MB / 337.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.1018, allocations: 19.36 kB / 337.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of SimCode: time 1.411e-06/0.1018, allocations: 4 kB / 337.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of Templates: time 0.004267/0.1061, allocations: 1.665 MB / 339.6 MB, free: 224 kB / 282.7 MB