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.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004438, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002232/0.2759, allocations: 1.349 MB / 370.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2774, allocations: 0.7241 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.2775, allocations: 0 / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.2777, allocations: 27.86 kB / 371.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.2779, allocations: 35.94 kB / 371.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2781, allocations: 59.75 kB / 371.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2783, allocations: 67.91 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.2784, allocations: 8 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2785, allocations: 43.83 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.2786, allocations: 31.86 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2786, allocations: 4 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.2787, allocations: 27.98 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.2788, allocations: 27.91 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.2788, allocations: 37.64 kB / 371.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2791, allocations: 103.8 kB / 371.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.408e-06/0.2791, allocations: 0 / 371.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.2791, allocations: 0 / 371.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.649e-06/0.2791, allocations: 0 / 371.7 MB, free: 8.152 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006373/0.2797, allocations: 478.7 kB / 372.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2798, allocations: 12.03 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.2798, allocations: 11.81 kB / 372.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2801, allocations: 210.8 kB / 372.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2802, allocations: 4 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2802, allocations: 4 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.2804, allocations: 53.67 kB / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2804, allocations: 0 / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2805, allocations: 3.938 kB / 372.5 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.673e-06/0.2805, allocations: 11.89 kB / 372.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2806, allocations: 27.92 kB / 372.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.2811, allocations: 300.9 kB / 372.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2813, allocations: 58.67 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2813, allocations: 4 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.2816, allocations: 83.19 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.515e-06/0.2816, allocations: 0 / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000688/0.2823, allocations: 189 kB / 373.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2823, allocations: 51.41 kB / 373.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.2827, allocations: 254.5 kB / 373.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.2828, allocations: 25.7 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.283, allocations: 174.4 kB / 373.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.2831, allocations: 31.64 kB / 373.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.2831, allocations: 0 / 373.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.2833, allocations: 318.8 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.2835, allocations: 27.98 kB / 374 MB, free: 5.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2837, allocations: 41.7 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.284, allocations: 65.69 kB / 374.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-06/0.284, allocations: 0 / 374.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005767/0.2846, allocations: 159.2 kB / 374.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.2847, allocations: 41.64 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2848, allocations: 4 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2848, allocations: 0 / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.285, allocations: 12 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.285, allocations: 4.312 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2851, allocations: 4 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.2852, allocations: 11.98 kB / 374.4 MB, free: 5.273 MB / 298.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: 5 ($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 (11): * Single equations (assignments): 10 * 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.000226/0.2854, allocations: 141.5 kB / 374.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.2855, allocations: 15.81 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.2856, allocations: 25.36 kB / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-06/0.2856, allocations: 0 / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-06/0.2856, allocations: 0 / 374.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.265e-06/0.2857, allocations: 3.938 kB / 374.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.2864, allocations: 407.3 kB / 374.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-06/0.2864, allocations: 4.031 kB / 374.9 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.2864, allocations: 8 kB / 374.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.781e-06/0.2865, allocations: 0 / 374.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2865, allocations: 8 kB / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.2865, allocations: 0 / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-06/0.2865, allocations: 3.984 kB / 375 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.2869, allocations: 208.4 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.287, allocations: 108.8 kB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.287, allocations: 4 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2871, allocations: 4 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.2872, allocations: 7.984 kB / 375.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.2872, allocations: 4 kB / 375.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2875, allocations: 188.5 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.2875, allocations: 0 / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.2879, allocations: 31.98 kB / 375.5 MB, free: 4.027 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00152/0.2894, allocations: 454.3 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.2898, allocations: 147.3 kB / 376.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2898, allocations: 0 / 376.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2899, allocations: 31.92 kB / 376.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2902, allocations: 23.92 kB / 376.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.2909, allocations: 328.7 kB / 376.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2913, allocations: 0.7238 MB / 377.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.2914, allocations: 15.44 kB / 377.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of SimCode: time 1.933e-06/0.2914, allocations: 0 / 377.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of Templates: time 0.004872/0.2963, allocations: 2.017 MB / 379.2 MB, free: 328 kB / 298.7 MB