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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004656, allocations: 19.98 kB / 314.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002233/0.2771, allocations: 1.353 MB / 370.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2786, allocations: 0.7163 MB / 371.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.2787, allocations: 0 / 371.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.279, allocations: 27.84 kB / 371.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2792, allocations: 35.95 kB / 371.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2794, allocations: 59.75 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2795, allocations: 63.92 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.2796, allocations: 4 kB / 371.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.2797, allocations: 43.83 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.2798, allocations: 27.86 kB / 371.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2799, allocations: 0 / 371.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.28, allocations: 31.97 kB / 371.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.28, allocations: 19.92 kB / 371.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.2801, allocations: 41.62 kB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2803, allocations: 91.8 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.393e-06/0.2803, allocations: 0 / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.546e-06/0.2803, allocations: 0 / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.892e-06/0.2803, allocations: 0 / 371.7 MB, free: 8.293 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.0006204/0.281, allocations: 462.9 kB / 372.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.281, allocations: 8.031 kB / 372.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.2811, allocations: 7.906 kB / 372.2 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2814, allocations: 210.8 kB / 372.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2814, allocations: 3.938 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.2814, allocations: 7.984 kB / 372.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.2816, allocations: 57.67 kB / 372.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.2817, allocations: 4 kB / 372.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2817, allocations: 3.938 kB / 372.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-06/0.2817, allocations: 3.953 kB / 372.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.2818, allocations: 19.98 kB / 372.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.2823, allocations: 292.9 kB / 372.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2825, allocations: 58.62 kB / 372.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2825, allocations: 0 / 372.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.2828, allocations: 83.23 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.468e-06/0.2828, allocations: 0 / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006688/0.2835, allocations: 181.2 kB / 373.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2835, allocations: 51.41 kB / 373.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.2838, allocations: 195.2 kB / 373.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.2838, allocations: 33.69 kB / 373.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.284, allocations: 166.4 kB / 373.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.284, allocations: 23.66 kB / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-06/0.284, allocations: 0 / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2842, allocations: 322.8 kB / 373.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2843, allocations: 31.98 kB / 373.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2845, allocations: 49.64 kB / 373.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2846, allocations: 61.69 kB / 374 MB, free: 5.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-06/0.2846, allocations: 0 / 374 MB, free: 5.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003443/0.285, allocations: 155.2 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.2851, allocations: 41.66 kB / 374.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.475e-06/0.2851, allocations: 4.031 kB / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2851, allocations: 0 / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2852, allocations: 15.98 kB / 374.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.014e-06/0.2852, allocations: 4 kB / 374.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.2853, allocations: 4 kB / 374.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2854, allocations: 4 kB / 374.2 MB, free: 5.527 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.000146/0.2855, allocations: 133.5 kB / 374.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.2855, allocations: 7.906 kB / 374.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.2856, allocations: 21.34 kB / 374.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.2856, allocations: 7.938 kB / 374.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-06/0.2856, allocations: 0 / 374.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.36e-06/0.2857, allocations: 7.938 kB / 374.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.2863, allocations: 391.3 kB / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-06/0.2863, allocations: 4.031 kB / 374.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/0.2864, allocations: 11.94 kB / 374.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.714e-06/0.2864, allocations: 0 / 374.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2864, allocations: 384 / 374.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.962e-06/0.2864, allocations: 8.031 kB / 374.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.152e-06/0.2864, allocations: 4 kB / 374.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2868, allocations: 204.3 kB / 375 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.2869, allocations: 96.95 kB / 375.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2869, allocations: 7.984 kB / 375.1 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.287, allocations: 4 kB / 375.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.2871, allocations: 15.92 kB / 375.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2871, allocations: 7.984 kB / 375.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.2873, allocations: 140 kB / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.87e-07/0.2873, allocations: 0 / 375.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.2877, allocations: 31.98 kB / 375.3 MB, free: 4.348 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.001512/0.2892, allocations: 451.9 kB / 375.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.2896, allocations: 159.3 kB / 375.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.092e-06/0.2896, allocations: 0 / 375.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2897, allocations: 28 kB / 375.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.29, allocations: 15.98 kB / 375.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.2906, allocations: 280.1 kB / 376.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.291, allocations: 0.7043 MB / 376.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2911, allocations: 23.38 kB / 376.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of SimCode: time 1.436e-06/0.2911, allocations: 0 / 376.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of Templates: time 0.004622/0.2957, allocations: 1.886 MB / 378.8 MB, free: 0.8359 MB / 298.7 MB