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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004413, allocations: 16 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002311/0.278, allocations: 1.349 MB / 370.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2795, allocations: 0.7202 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.2796, allocations: 0 / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.28, allocations: 71.77 kB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.2802, allocations: 55.86 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2804, allocations: 59.81 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.2806, allocations: 75.84 kB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.2807, allocations: 4 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2808, allocations: 47.83 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2809, allocations: 43.88 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.281, allocations: 4 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.2811, allocations: 31.92 kB / 371.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.2811, allocations: 19.98 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.2812, allocations: 37.64 kB / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2814, allocations: 91.8 kB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.536e-06/0.2814, allocations: 0 / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2814, allocations: 0 / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.895e-06/0.2815, allocations: 0 / 371.8 MB, free: 8.086 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.0006546/0.2821, allocations: 466.8 kB / 372.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2822, allocations: 8.031 kB / 372.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.2822, allocations: 11.91 kB / 372.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.2825, allocations: 207.5 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2826, allocations: 4 kB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2826, allocations: 4 kB / 372.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2828, allocations: 57.66 kB / 372.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2828, allocations: 0 / 372.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2828, allocations: 7.938 kB / 372.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.671e-06/0.2829, allocations: 3.953 kB / 372.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.283, allocations: 23.92 kB / 372.6 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.2835, allocations: 300.8 kB / 372.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2837, allocations: 58.61 kB / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2837, allocations: 4 kB / 372.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.284, allocations: 71.28 kB / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.649e-06/0.284, allocations: 4 kB / 373 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007042/0.2847, allocations: 177.2 kB / 373.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2848, allocations: 59.34 kB / 373.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.285, allocations: 202.4 kB / 373.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2851, allocations: 29.7 kB / 373.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2852, allocations: 178.3 kB / 373.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.2853, allocations: 23.66 kB / 373.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2853, allocations: 0 / 373.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2855, allocations: 326.8 kB / 374 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2856, allocations: 31.98 kB / 374 MB, free: 5.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.2857, allocations: 42.41 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2859, allocations: 65.69 kB / 374.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-06/0.2859, allocations: 0 / 374.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003627/0.2863, allocations: 151.3 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.2863, allocations: 33.66 kB / 374.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2864, allocations: 8.109 kB / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2864, allocations: 0 / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2866, allocations: 15.98 kB / 374.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2866, allocations: 3.984 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.2867, allocations: 8 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.2867, allocations: 8 kB / 374.3 MB, free: 5.293 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.000158/0.2869, allocations: 137.3 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2869, allocations: 11.81 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.287, allocations: 25.72 kB / 374.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-06/0.287, allocations: 4 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-06/0.287, allocations: 0 / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.364e-06/0.287, allocations: 3.938 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.2877, allocations: 399.3 kB / 374.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2877, allocations: 0 / 374.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.2878, allocations: 8 kB / 374.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.275e-06/0.2878, allocations: 0 / 374.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2878, allocations: 8.031 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-06/0.2878, allocations: 0 / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2878, allocations: 0 / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.2882, allocations: 212.1 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.2883, allocations: 96.95 kB / 375.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2884, allocations: 0 / 375.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2885, allocations: 4.094 kB / 375.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2885, allocations: 19.92 kB / 375.2 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2886, allocations: 4 kB / 375.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.2888, allocations: 147.2 kB / 375.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.2888, allocations: 0 / 375.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.2891, allocations: 28 kB / 375.4 MB, free: 4.109 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.001543/0.2907, allocations: 447.5 kB / 375.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.2911, allocations: 151.3 kB / 376 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.039e-06/0.2911, allocations: 0 / 376 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2912, allocations: 35.92 kB / 376 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2916, allocations: 16.14 kB / 376.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.2922, allocations: 292.4 kB / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.2926, allocations: 0.7082 MB / 377.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.2927, allocations: 15.44 kB / 377.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.697e-06/0.2927, allocations: 0 / 377.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of Templates: time 0.004866/0.2976, allocations: 1.923 MB / 379 MB, free: 0.5547 MB / 298.7 MB