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.Test52.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.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 16 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2784, allocations: 54.87 MB / 369.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002263/0.2807, allocations: 1.341 MB / 370.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2822, allocations: 0.7241 MB / 371.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.2823, allocations: 4 kB / 371.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.2826, allocations: 27.84 kB / 371.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2828, allocations: 39.88 kB / 371.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.283, allocations: 51.83 kB / 371.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2832, allocations: 75.83 kB / 371.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.2833, allocations: 8 kB / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.2834, allocations: 35.86 kB / 371.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.2835, allocations: 35.89 kB / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2835, allocations: 0 / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.2836, allocations: 27.94 kB / 371.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.2837, allocations: 15.97 kB / 371.6 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2838, allocations: 45.64 kB / 371.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.284, allocations: 87.8 kB / 371.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.883e-06/0.284, allocations: 0 / 371.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.83e-06/0.284, allocations: 0 / 371.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.233e-06/0.284, allocations: 3.938 kB / 371.7 MB, free: 8.031 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.0006423/0.2847, allocations: 466.9 kB / 372.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2847, allocations: 12.03 kB / 372.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.2848, allocations: 11.81 kB / 372.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2851, allocations: 206.9 kB / 372.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2851, allocations: 0 / 372.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2851, allocations: 4 kB / 372.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.2853, allocations: 53.67 kB / 372.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2854, allocations: 0 / 372.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2854, allocations: 7.938 kB / 372.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-06/0.2854, allocations: 7.953 kB / 372.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2855, allocations: 27.92 kB / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.286, allocations: 288.9 kB / 372.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2862, allocations: 58.61 kB / 372.8 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2863, allocations: 3.984 kB / 372.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2865, allocations: 83.28 kB / 372.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.529e-06/0.2865, allocations: 0 / 372.9 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006972/0.2872, allocations: 185.2 kB / 373.1 MB, free: 6.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.2873, allocations: 51.41 kB / 373.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.2876, allocations: 222.3 kB / 373.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.2876, allocations: 25.7 kB / 373.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2878, allocations: 178.4 kB / 373.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2878, allocations: 27.64 kB / 373.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-06/0.2878, allocations: 0 / 373.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.288, allocations: 314.8 kB / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2881, allocations: 31.98 kB / 373.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2883, allocations: 49.08 kB / 374 MB, free: 5.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2884, allocations: 65.69 kB / 374 MB, free: 5.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-06/0.2884, allocations: 4 kB / 374.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.2888, allocations: 155.4 kB / 374.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.2889, allocations: 41.64 kB / 374.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.467e-06/0.2889, allocations: 0 / 374.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2889, allocations: 8 kB / 374.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2891, allocations: 12 kB / 374.3 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.042e-06/0.2891, allocations: 3.938 kB / 374.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.2892, allocations: 11.98 kB / 374.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.2892, allocations: 4 kB / 374.3 MB, free: 5.215 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.0001591/0.2894, allocations: 133.9 kB / 374.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.2894, allocations: 11.89 kB / 374.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.2895, allocations: 17.36 kB / 374.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-06/0.2895, allocations: 4 kB / 374.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.518e-06/0.2895, allocations: 0 / 374.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-06/0.2895, allocations: 3.938 kB / 374.4 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.2902, allocations: 399.2 kB / 374.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.828e-06/0.2902, allocations: 8.031 kB / 374.8 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.2903, allocations: 7.984 kB / 374.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2903, allocations: 4 kB / 374.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2903, allocations: 0 / 374.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.887e-06/0.2903, allocations: 0 / 374.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-06/0.2904, allocations: 4 kB / 374.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.2907, allocations: 204.4 kB / 375.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2908, allocations: 104.9 kB / 375.2 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.2909, allocations: 4 kB / 375.2 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.291, allocations: 8.078 kB / 375.2 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.291, allocations: 7.938 kB / 375.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2911, allocations: 4 kB / 375.2 MB, free: 4.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.2913, allocations: 167.2 kB / 375.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.2913, allocations: 0 / 375.4 MB, free: 4.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.2917, allocations: 24 kB / 375.4 MB, free: 4.02 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.001625/0.2933, allocations: 457.4 kB / 375.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.2937, allocations: 147.3 kB / 376 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2938, allocations: 0 / 376 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2939, allocations: 31.92 kB / 376 MB, free: 3.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2942, allocations: 19.98 kB / 376 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.2949, allocations: 296.4 kB / 376.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.2953, allocations: 0.716 MB / 377 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.2954, allocations: 15.44 kB / 377 MB, free: 2.371 MB / 298.7 MB Notification: Performance of SimCode: time 1.565e-06/0.2954, allocations: 0 / 377 MB, free: 2.371 MB / 298.7 MB Notification: Performance of Templates: time 0.004826/0.3002, allocations: 1.943 MB / 379 MB, free: 440 kB / 298.7 MB