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.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002421/0.2797, allocations: 1.419 MB / 370.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2817, allocations: 0.9421 MB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.783e-05/0.2819, allocations: 0 / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.2824, allocations: 283.4 kB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.2828, allocations: 179.6 kB / 372 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2832, allocations: 103.6 kB / 372.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.2835, allocations: 171.7 kB / 372.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.585e-05/0.2836, allocations: 17.55 kB / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.2838, allocations: 111.6 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.284, allocations: 151.6 kB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2841, allocations: 4 kB / 372.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2842, allocations: 51.91 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2844, allocations: 131.6 kB / 372.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2845, allocations: 77.45 kB / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.285, allocations: 308.2 kB / 373.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.224e-06/0.285, allocations: 0 / 373.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.928e-06/0.285, allocations: 3.938 kB / 373.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2851, allocations: 0 / 373.1 MB, free: 6.754 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001152/0.2862, allocations: 0.7847 MB / 373.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2863, allocations: 8.031 kB / 373.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.2864, allocations: 47.44 kB / 374 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.2871, allocations: 419.1 kB / 374.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2872, allocations: 0 / 374.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.2872, allocations: 12 kB / 374.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2875, allocations: 91.3 kB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.697e-06/0.2875, allocations: 0 / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.2875, allocations: 0 / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2876, allocations: 11.89 kB / 374.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2877, allocations: 27.98 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.2883, allocations: 390.2 kB / 374.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.2887, allocations: 113.2 kB / 375 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2887, allocations: 0 / 375 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.289, allocations: 109 kB / 375.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 5.839e-06/0.289, allocations: 7.984 kB / 375.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006758/0.2897, allocations: 197.1 kB / 375.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.2898, allocations: 89 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.2914, allocations: 1.03 MB / 376.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.2914, allocations: 25.7 kB / 376.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.2917, allocations: 262.8 kB / 376.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.2918, allocations: 27.62 kB / 376.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.2918, allocations: 0 / 376.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.292, allocations: 330.8 kB / 377.1 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2922, allocations: 47.97 kB / 377.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2924, allocations: 79.34 kB / 377.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.2926, allocations: 111.4 kB / 377.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.919e-06/0.2926, allocations: 4 kB / 377.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005754/0.2932, allocations: 240.8 kB / 377.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/0.2933, allocations: 67.39 kB / 377.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2933, allocations: 3.938 kB / 377.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2934, allocations: 4 kB / 377.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2935, allocations: 19.98 kB / 377.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.514e-06/0.2935, allocations: 4 kB / 377.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2937, allocations: 19.8 kB / 377.6 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.2938, allocations: 16.06 kB / 377.7 MB, free: 1.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0003189/0.2941, allocations: 221.7 kB / 377.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.2942, allocations: 47.97 kB / 377.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.2943, allocations: 60 kB / 378 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-06/0.2944, allocations: 0 / 378 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.2944, allocations: 0 / 378 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2944, allocations: 4 kB / 378 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.2948, allocations: 341.3 kB / 378.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-06/0.2949, allocations: 7.938 kB / 378.3 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.2949, allocations: 15.98 kB / 378.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-06/0.2949, allocations: 0 / 378.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.295, allocations: 4 kB / 378.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.14e-06/0.295, allocations: 0 / 378.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-06/0.295, allocations: 0 / 378.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.2955, allocations: 209.2 kB / 378.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.2957, allocations: 148.5 kB / 378.7 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.2958, allocations: 4 kB / 378.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2959, allocations: 8 kB / 378.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.296, allocations: 7.984 kB / 378.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.296, allocations: 4 kB / 378.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.2972, allocations: 0.7604 MB / 379.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.58e-07/0.2972, allocations: 0 / 379.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.2977, allocations: 59.98 kB / 379.5 MB, free: 15.91 MB / 314.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00209/0.2998, allocations: 0.5873 MB / 380.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.3004, allocations: 262.7 kB / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3004, allocations: 128 / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3006, allocations: 47.91 kB / 380.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.301, allocations: 54.23 kB / 380.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3028, allocations: 0.946 MB / 381.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.3035, allocations: 0.8429 MB / 382.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3036, allocations: 35.42 kB / 382.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3036, allocations: 0 / 382.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01158/0.3152, allocations: 5.185 MB / 387.5 MB, free: 7.957 MB / 314.7 MB