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.Test27.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.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004434, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002377/0.2846, allocations: 1.349 MB / 370.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2862, allocations: 0.7163 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.2863, allocations: 3.938 kB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.2866, allocations: 31.84 kB / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.2868, allocations: 27.95 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.287, allocations: 55.81 kB / 371.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2872, allocations: 67.86 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.2873, allocations: 8 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.782e-05/0.2874, allocations: 39.83 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.2875, allocations: 27.86 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2875, allocations: 4 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.2876, allocations: 31.97 kB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2877, allocations: 15.92 kB / 371.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.2878, allocations: 45.64 kB / 371.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.288, allocations: 79.81 kB / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.933e-06/0.288, allocations: 0 / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.929e-06/0.288, allocations: 0 / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.033e-06/0.288, allocations: 0 / 371.7 MB, free: 8.184 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.0006518/0.2887, allocations: 451 kB / 372.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2887, allocations: 8.031 kB / 372.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.2888, allocations: 15.81 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2891, allocations: 198.8 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2891, allocations: 4 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.2891, allocations: 4 kB / 372.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.2893, allocations: 53.67 kB / 372.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2894, allocations: 7.844 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2894, allocations: 3.938 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2894, allocations: 7.953 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.2895, allocations: 15.98 kB / 372.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.29, allocations: 296.9 kB / 372.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.2903, allocations: 66.55 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2903, allocations: 4 kB / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2905, allocations: 71.34 kB / 372.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.746e-06/0.2905, allocations: 4 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006886/0.2912, allocations: 185.2 kB / 373.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2913, allocations: 51.41 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.2916, allocations: 186.1 kB / 373.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.2916, allocations: 33.69 kB / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2917, allocations: 158.6 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2918, allocations: 19.72 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2918, allocations: 4 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.292, allocations: 318.8 kB / 373.8 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2921, allocations: 31.98 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2922, allocations: 46.27 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2924, allocations: 65.69 kB / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-06/0.2924, allocations: 0 / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003654/0.2928, allocations: 155.2 kB / 374.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.2928, allocations: 41.69 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-06/0.2929, allocations: 0 / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2929, allocations: 0 / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.293, allocations: 27.92 kB / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.457e-06/0.293, allocations: 0 / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.2931, allocations: 4 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2932, allocations: 4 kB / 374.2 MB, free: 5.441 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.0001562/0.2933, allocations: 136.2 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.2934, allocations: 7.906 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.2935, allocations: 24.66 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.311e-06/0.2935, allocations: 0 / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.404e-06/0.2935, allocations: 3.984 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-06/0.2935, allocations: 3.938 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.2942, allocations: 399.3 kB / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.359e-06/0.2942, allocations: 0 / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.2943, allocations: 11.98 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-06/0.2943, allocations: 4 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2943, allocations: 4.031 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.899e-06/0.2943, allocations: 3.938 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2943, allocations: 0 / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.2947, allocations: 200.3 kB / 375 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.2948, allocations: 96.95 kB / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.2948, allocations: 0 / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2949, allocations: 12.08 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.295, allocations: 11.92 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.295, allocations: 8 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.2952, allocations: 131.2 kB / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.77e-07/0.2952, allocations: 0 / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.2956, allocations: 28 kB / 375.2 MB, free: 4.273 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.001535/0.2972, allocations: 455.8 kB / 375.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.2976, allocations: 147.4 kB / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.83e-06/0.2976, allocations: 0 / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2978, allocations: 35.92 kB / 375.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2981, allocations: 15.98 kB / 375.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.2987, allocations: 259.8 kB / 376.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.2992, allocations: 0.7082 MB / 376.8 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.2992, allocations: 11.44 kB / 376.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2992, allocations: 4 kB / 376.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of Templates: time 0.004892/0.3041, allocations: 1.877 MB / 378.7 MB, free: 0.7969 MB / 298.7 MB