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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.174/2.174, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004362, allocations: 15.98 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002203/0.2768, allocations: 1.357 MB / 370.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2783, allocations: 0.7163 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.2783, allocations: 0 / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.2786, allocations: 27.83 kB / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2788, allocations: 39.89 kB / 371.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.279, allocations: 55.81 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.2792, allocations: 67.86 kB / 371.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.2793, allocations: 8 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2794, allocations: 43.83 kB / 371.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.2795, allocations: 31.84 kB / 371.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2795, allocations: 0 / 371.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.2797, allocations: 31.98 kB / 371.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.2797, allocations: 19.92 kB / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.2798, allocations: 45.58 kB / 371.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.28, allocations: 87.86 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.28, allocations: 0 / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.28, allocations: 0 / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.307e-06/0.28, allocations: 0 / 371.7 MB, free: 8.156 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.0006279/0.2807, allocations: 468.1 kB / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2807, allocations: 12.03 kB / 372.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.2808, allocations: 15.81 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2811, allocations: 194.9 kB / 372.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2811, allocations: 4 kB / 372.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2811, allocations: 7.938 kB / 372.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2813, allocations: 61.61 kB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2814, allocations: 7.922 kB / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2814, allocations: 0 / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-06/0.2814, allocations: 3.953 kB / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2815, allocations: 19.98 kB / 372.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.282, allocations: 300.9 kB / 372.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.2822, allocations: 58.62 kB / 372.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.2822, allocations: 4 kB / 372.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.2825, allocations: 75.33 kB / 372.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.58e-06/0.2825, allocations: 4 kB / 372.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006784/0.2832, allocations: 181.1 kB / 373.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.2833, allocations: 55.41 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.2835, allocations: 214.3 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2836, allocations: 29.7 kB / 373.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2837, allocations: 174.4 kB / 373.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.2838, allocations: 23.66 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-06/0.2838, allocations: 0 / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.284, allocations: 322.8 kB / 373.9 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2841, allocations: 27.98 kB / 373.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2842, allocations: 45.7 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2844, allocations: 65.64 kB / 374 MB, free: 5.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2844, allocations: 0 / 374 MB, free: 5.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003542/0.2847, allocations: 159.3 kB / 374.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.2848, allocations: 41.69 kB / 374.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.017e-06/0.2848, allocations: 4 kB / 374.2 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2849, allocations: 11.92 kB / 374.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.285, allocations: 15.98 kB / 374.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.285, allocations: 0 / 374.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.2851, allocations: 4 kB / 374.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2851, allocations: 4 kB / 374.3 MB, free: 5.344 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.0001508/0.2853, allocations: 133.8 kB / 374.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2853, allocations: 7.906 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.2854, allocations: 25.34 kB / 374.4 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.079e-06/0.2854, allocations: 4 kB / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-06/0.2854, allocations: 3.938 kB / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-06/0.2854, allocations: 0 / 374.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.2861, allocations: 403.2 kB / 374.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-06/0.2861, allocations: 0 / 374.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.2862, allocations: 15.94 kB / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-06/0.2862, allocations: 96 / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2862, allocations: 11.95 kB / 374.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.212e-06/0.2862, allocations: 4 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-06/0.2862, allocations: 0 / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.2866, allocations: 200.7 kB / 375.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2867, allocations: 100.9 kB / 375.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2867, allocations: 4 kB / 375.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2869, allocations: 8 kB / 375.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.2869, allocations: 7.984 kB / 375.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.2869, allocations: 4 kB / 375.2 MB, free: 4.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.2871, allocations: 167.2 kB / 375.3 MB, free: 4.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.2872, allocations: 3.938 kB / 375.4 MB, free: 4.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.2875, allocations: 27.98 kB / 375.4 MB, free: 4.133 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.001523/0.2891, allocations: 455.7 kB / 375.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.2895, allocations: 147.3 kB / 376 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2895, allocations: 0 / 376 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2896, allocations: 31.98 kB / 376 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2899, allocations: 15.98 kB / 376 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.2906, allocations: 300.4 kB / 376.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.291, allocations: 0.7199 MB / 377 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.2911, allocations: 15.62 kB / 377 MB, free: 2.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.655e-06/0.2911, allocations: 4 kB / 377 MB, free: 2.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004789/0.2959, allocations: 1.928 MB / 379 MB, free: 0.5547 MB / 298.7 MB