Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004312, allocations: 12 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001868/0.2808, allocations: 1.299 MB / 332.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.2817, allocations: 418.6 kB / 332.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.2818, allocations: 5.25 kB / 332.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.282, allocations: 23.12 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2822, allocations: 37.66 kB / 333 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.2824, allocations: 67.66 kB / 333 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.2826, allocations: 54.88 kB / 333.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.2827, allocations: 5.031 kB / 333.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.175e-05/0.2828, allocations: 27.84 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.2829, allocations: 33.03 kB / 333.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2829, allocations: 2.469 kB / 333.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.283, allocations: 31.97 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.2831, allocations: 24.95 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.2831, allocations: 39.05 kB / 333.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.2833, allocations: 95.77 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2834, allocations: 1.312 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2834, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.823e-06/0.2834, allocations: 0 / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004331/0.2838, allocations: 425.8 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2839, allocations: 8.219 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.2839, allocations: 18.08 kB / 333.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2841, allocations: 206.3 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2842, allocations: 6.281 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.2842, allocations: 2.719 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.2843, allocations: 42.69 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2843, allocations: 0 / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2844, allocations: 1.344 kB / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2844, allocations: 0 / 334 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-05/0.2844, allocations: 18.77 kB / 334.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.2848, allocations: 293.4 kB / 334.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.285, allocations: 42.88 kB / 334.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.285, allocations: 0 / 334.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.2852, allocations: 64.42 kB / 334.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.441e-06/0.2852, allocations: 3.984 kB / 334.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004195/0.2856, allocations: 118.9 kB / 334.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2857, allocations: 52.06 kB / 334.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.286, allocations: 244.7 kB / 334.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.286, allocations: 26.73 kB / 334.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.2861, allocations: 174.2 kB / 335.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.2861, allocations: 15.06 kB / 335.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-06/0.2861, allocations: 0.9688 kB / 335.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.2862, allocations: 317.6 kB / 335.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.2863, allocations: 20.03 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.2863, allocations: 16.77 kB / 335.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.2864, allocations: 54.06 kB / 335.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-06/0.2865, allocations: 1.406 kB / 335.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002062/0.2867, allocations: 116.5 kB / 335.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.2867, allocations: 33.75 kB / 335.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.856e-06/0.2867, allocations: 0 / 335.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2868, allocations: 1.188 kB / 335.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.2868, allocations: 13.05 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.067e-06/0.2869, allocations: 1.031 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.2869, allocations: 3.188 kB / 335.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.287, allocations: 7.219 kB / 335.6 MB, free: 3.273 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.000108/0.2871, allocations: 140.7 kB / 335.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.2871, allocations: 9.969 kB / 335.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.2872, allocations: 21.94 kB / 335.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-06/0.2872, allocations: 5.25 kB / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-06/0.2872, allocations: 0 / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.683e-06/0.2872, allocations: 0.75 kB / 335.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.2876, allocations: 352.3 kB / 336.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-06/0.2876, allocations: 0 / 336.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.2877, allocations: 11.42 kB / 336.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.2877, allocations: 0 / 336.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2877, allocations: 2.203 kB / 336.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.566e-06/0.2877, allocations: 0 / 336.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.847e-06/0.2877, allocations: 1.25 kB / 336.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2879, allocations: 177.1 kB / 336.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.288, allocations: 89.39 kB / 336.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.288, allocations: 1.953 kB / 336.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.2881, allocations: 6.031 kB / 336.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2882, allocations: 4.391 kB / 336.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2882, allocations: 3 kB / 336.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.2884, allocations: 189.6 kB / 336.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.2884, allocations: 0 / 336.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.2888, allocations: 29.14 kB / 336.7 MB, free: 2.414 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001099/0.2899, allocations: 369.7 kB / 337 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2901, allocations: 106.3 kB / 337.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.232e-06/0.2901, allocations: 0 / 337.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.2902, allocations: 16.97 kB / 337.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.2905, allocations: 23.14 kB / 337.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.2911, allocations: 292.4 kB / 337.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.2913, allocations: 0.7094 MB / 338.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2913, allocations: 14.19 kB / 338.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of SimCode: time 2.376e-06/0.2913, allocations: 0 / 338.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of Templates: time 0.004296/0.2956, allocations: 1.814 MB / 340 MB, free: 496 kB / 266.7 MB