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.Test81.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 12 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.87 MB / 369.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002374/0.2814, allocations: 1.423 MB / 370.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.2843, allocations: 1.501 MB / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2844, allocations: 0 / 372.1 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.2847, allocations: 35.84 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.285, allocations: 59.78 kB / 372.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.2853, allocations: 99.72 kB / 372.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2856, allocations: 127.8 kB / 372.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.594e-05/0.2857, allocations: 5.562 kB / 372.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2858, allocations: 71.69 kB / 372.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2861, allocations: 67.73 kB / 372.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2861, allocations: 7.938 kB / 372.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2863, allocations: 75.78 kB / 372.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.2864, allocations: 23.91 kB / 372.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.2865, allocations: 57.62 kB / 372.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.2868, allocations: 160.4 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2868, allocations: 0 / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2868, allocations: 0 / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2868, allocations: 0 / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007714/0.2876, allocations: 0.5522 MB / 373.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2877, allocations: 8.031 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.2877, allocations: 23.81 kB / 373.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.2881, allocations: 230.8 kB / 373.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2882, allocations: 8 kB / 373.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.2882, allocations: 4 kB / 373.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.2885, allocations: 101 kB / 373.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-06/0.2885, allocations: 0 / 373.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2885, allocations: 0 / 373.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-06/0.2885, allocations: 3.953 kB / 373.8 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2887, allocations: 43.91 kB / 373.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.289, allocations: 230.4 kB / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.2894, allocations: 105.2 kB / 374.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.2895, allocations: 8 kB / 374.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.2898, allocations: 105.1 kB / 374.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.448e-06/0.2898, allocations: 0 / 374.3 MB, free: 5.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006192/0.2904, allocations: 165.4 kB / 374.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2906, allocations: 136.5 kB / 374.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2909, allocations: 206.5 kB / 374.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2909, allocations: 33.69 kB / 374.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.2911, allocations: 166.8 kB / 375 MB, free: 4.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.2911, allocations: 31.64 kB / 375 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.2912, allocations: 4 kB / 375 MB, free: 4.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2913, allocations: 322.8 kB / 375.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2915, allocations: 47.97 kB / 375.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2918, allocations: 93.12 kB / 375.5 MB, free: 3.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.292, allocations: 115.3 kB / 375.6 MB, free: 3.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-06/0.292, allocations: 0 / 375.6 MB, free: 3.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006027/0.2926, allocations: 240.8 kB / 375.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.2927, allocations: 75.48 kB / 375.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2928, allocations: 0 / 375.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2928, allocations: 3.938 kB / 375.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2929, allocations: 23.98 kB / 375.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.293, allocations: 0 / 375.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2931, allocations: 27.8 kB / 376 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2932, allocations: 11.98 kB / 376 MB, free: 3.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001664/0.2933, allocations: 129.8 kB / 376.1 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2934, allocations: 19.81 kB / 376.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.2935, allocations: 16.98 kB / 376.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2935, allocations: 0 / 376.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-06/0.2935, allocations: 0 / 376.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.2935, allocations: 7.984 kB / 376.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.2938, allocations: 217.4 kB / 376.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.2938, allocations: 4.625 kB / 376.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.2939, allocations: 4 kB / 376.4 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2939, allocations: 0 / 376.4 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2939, allocations: 4 kB / 376.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.115e-06/0.2939, allocations: 4 kB / 376.4 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/0.2939, allocations: 7.984 kB / 376.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.2944, allocations: 177.6 kB / 376.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2945, allocations: 100.9 kB / 376.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.2946, allocations: 7.984 kB / 376.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.2947, allocations: 8 kB / 376.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.2947, allocations: 11.98 kB / 376.7 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2948, allocations: 8 kB / 376.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.295, allocations: 136.5 kB / 376.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.295, allocations: 0 / 376.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.2954, allocations: 67.98 kB / 376.9 MB, free: 2.406 MB / 298.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002557/0.298, allocations: 0.7306 MB / 377.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.2986, allocations: 262.7 kB / 377.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.566e-06/0.2986, allocations: 0 / 377.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.2988, allocations: 52.03 kB / 377.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2992, allocations: 43.64 kB / 378 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.2999, allocations: 304.6 kB / 378.3 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3004, allocations: 0.7166 MB / 379 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.3005, allocations: 23.42 kB / 379 MB, free: 304 kB / 298.7 MB Notification: Performance of SimCode: time 2.009e-06/0.3005, allocations: 4 kB / 379 MB, free: 300 kB / 298.7 MB Notification: Performance of Templates: time 0.007093/0.3076, allocations: 3.098 MB / 382.1 MB, free: 13.2 MB / 314.7 MB