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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004344, allocations: 12 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002273/0.2845, allocations: 1.353 MB / 370.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2861, allocations: 0.7202 MB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.2862, allocations: 0 / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.2864, allocations: 23.84 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.2866, allocations: 35.89 kB / 371.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.2868, allocations: 59.81 kB / 371.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.287, allocations: 67.86 kB / 371.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.2871, allocations: 7.984 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.2872, allocations: 39.84 kB / 371.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.2873, allocations: 31.84 kB / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2873, allocations: 0 / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.2874, allocations: 27.98 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.2875, allocations: 15.98 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.2876, allocations: 41.64 kB / 371.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2878, allocations: 79.81 kB / 371.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.698e-06/0.2878, allocations: 4 kB / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.2878, allocations: 0 / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.041e-06/0.2878, allocations: 0 / 371.7 MB, free: 8.199 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.0006309/0.2884, allocations: 447 kB / 372.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2885, allocations: 15.95 kB / 372.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.2886, allocations: 15.81 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2888, allocations: 194.8 kB / 372.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2889, allocations: 4 kB / 372.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.2889, allocations: 4 kB / 372.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.2891, allocations: 53.67 kB / 372.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2892, allocations: 11.84 kB / 372.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2892, allocations: 7.938 kB / 372.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.553e-06/0.2892, allocations: 3.953 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2893, allocations: 23.98 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.2898, allocations: 296.8 kB / 372.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2901, allocations: 62.67 kB / 372.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2901, allocations: 0 / 372.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.2903, allocations: 79.27 kB / 372.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.584e-06/0.2904, allocations: 4 kB / 372.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006736/0.2911, allocations: 173.3 kB / 373.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.2911, allocations: 59.34 kB / 373.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.2914, allocations: 182.8 kB / 373.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2914, allocations: 29.7 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2916, allocations: 162.6 kB / 373.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2916, allocations: 23.7 kB / 373.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.2916, allocations: 0 / 373.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2918, allocations: 314.8 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2919, allocations: 35.98 kB / 373.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2921, allocations: 41.7 kB / 373.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2922, allocations: 65.69 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2922, allocations: 0 / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003632/0.2926, allocations: 159.2 kB / 374.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.2927, allocations: 41.64 kB / 374.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2927, allocations: 4 kB / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2927, allocations: 0 / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2928, allocations: 16.03 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.27e-06/0.2929, allocations: 0 / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.293, allocations: 4 kB / 374.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.293, allocations: 11.98 kB / 374.2 MB, free: 5.453 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.0001481/0.2931, allocations: 133.4 kB / 374.3 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.2932, allocations: 7.906 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.2933, allocations: 20.66 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-06/0.2933, allocations: 4 kB / 374.3 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-06/0.2933, allocations: 4 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-06/0.2933, allocations: 3.938 kB / 374.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.294, allocations: 403.2 kB / 374.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-06/0.294, allocations: 0 / 374.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.294, allocations: 8 kB / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.185e-06/0.2941, allocations: 0 / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2941, allocations: 0 / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.332e-06/0.2941, allocations: 4.469 kB / 374.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-06/0.2941, allocations: 7.969 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.2945, allocations: 208.2 kB / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2946, allocations: 101 kB / 375.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2946, allocations: 4 kB / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2947, allocations: 0 / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2948, allocations: 11.98 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.2948, allocations: 8 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.295, allocations: 131.4 kB / 375.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.295, allocations: 4 kB / 375.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.2954, allocations: 31.98 kB / 375.3 MB, free: 4.277 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.001573/0.297, allocations: 448.3 kB / 375.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.2974, allocations: 151.3 kB / 375.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.249e-06/0.2974, allocations: 0 / 375.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2975, allocations: 31.92 kB / 375.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2978, allocations: 15.98 kB / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.2985, allocations: 267.8 kB / 376.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.2989, allocations: 0.7004 MB / 376.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.299, allocations: 19.44 kB / 376.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of SimCode: time 1.698e-06/0.299, allocations: 0 / 376.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of Templates: time 0.004789/0.3038, allocations: 1.873 MB / 378.7 MB, free: 0.8086 MB / 298.7 MB