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.Test54.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.Test54,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.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004444, allocations: 24 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002221/0.2779, allocations: 1.353 MB / 370.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2794, allocations: 0.7163 MB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.2795, allocations: 4 kB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.2797, allocations: 27.83 kB / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2799, allocations: 35.89 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2801, allocations: 55.81 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2803, allocations: 67.86 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.2804, allocations: 4 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.2805, allocations: 39.89 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.2806, allocations: 35.86 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2806, allocations: 0 / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.2807, allocations: 35.91 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.2808, allocations: 15.98 kB / 371.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.2808, allocations: 41.64 kB / 371.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.281, allocations: 91.8 kB / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.516e-06/0.281, allocations: 0 / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.865e-06/0.2811, allocations: 0 / 371.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.754e-06/0.2811, allocations: 3.938 kB / 371.7 MB, free: 8.16 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.0006029/0.2817, allocations: 470.8 kB / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2817, allocations: 8.031 kB / 372.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.2818, allocations: 19.8 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2821, allocations: 194.9 kB / 372.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2821, allocations: 4 kB / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2821, allocations: 4 kB / 372.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2823, allocations: 53.67 kB / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2823, allocations: 0 / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2824, allocations: 3.938 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2824, allocations: 11.95 kB / 372.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.2825, allocations: 19.92 kB / 372.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.283, allocations: 300.9 kB / 372.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2832, allocations: 58.67 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.2832, allocations: 0 / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.2835, allocations: 83.28 kB / 372.9 MB, free: 6.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.463e-06/0.2835, allocations: 0 / 372.9 MB, free: 6.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006564/0.2841, allocations: 185 kB / 373.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.2842, allocations: 51.41 kB / 373.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.2845, allocations: 214.3 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2845, allocations: 33.7 kB / 373.4 MB, free: 6.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2847, allocations: 170.4 kB / 373.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.2847, allocations: 31.64 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-06/0.2847, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2849, allocations: 314.8 kB / 373.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.285, allocations: 31.98 kB / 373.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2851, allocations: 49.08 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2853, allocations: 61.7 kB / 374 MB, free: 5.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-06/0.2853, allocations: 0 / 374 MB, free: 5.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003479/0.2857, allocations: 159.2 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.2857, allocations: 45.64 kB / 374.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2857, allocations: 0 / 374.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2858, allocations: 0 / 374.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.2859, allocations: 19.98 kB / 374.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.214e-06/0.2859, allocations: 0 / 374.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.286, allocations: 7.938 kB / 374.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.286, allocations: 4.453 kB / 374.3 MB, free: 5.355 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.000147/0.2862, allocations: 133.9 kB / 374.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.2862, allocations: 11.91 kB / 374.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.2863, allocations: 21.34 kB / 374.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-06/0.2863, allocations: 4.078 kB / 374.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-06/0.2863, allocations: 11.94 kB / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2863, allocations: 3.938 kB / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.287, allocations: 399.2 kB / 374.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-06/0.287, allocations: 32 / 374.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.287, allocations: 16 kB / 374.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-06/0.2871, allocations: 4 kB / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2871, allocations: 0 / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.983e-06/0.2871, allocations: 0 / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-06/0.2871, allocations: 0 / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2874, allocations: 212.2 kB / 375.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2876, allocations: 104.9 kB / 375.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2876, allocations: 4 kB / 375.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2877, allocations: 0 / 375.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2878, allocations: 7.984 kB / 375.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.2878, allocations: 4 kB / 375.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.288, allocations: 167.2 kB / 375.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.288, allocations: 0 / 375.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.2884, allocations: 27.98 kB / 375.4 MB, free: 4.145 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.001494/0.2899, allocations: 452.9 kB / 375.8 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.2902, allocations: 147.3 kB / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.601e-06/0.2903, allocations: 0 / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2904, allocations: 32.11 kB / 376 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2907, allocations: 23.92 kB / 376 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.2913, allocations: 292.4 kB / 376.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.2917, allocations: 0.7277 MB / 377 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2918, allocations: 15.44 kB / 377 MB, free: 2.488 MB / 298.7 MB Notification: Performance of SimCode: time 1.336e-06/0.2918, allocations: 0 / 377 MB, free: 2.488 MB / 298.7 MB Notification: Performance of Templates: time 0.004588/0.2964, allocations: 1.935 MB / 379 MB, free: 0.5547 MB / 298.7 MB