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.Test71.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.Test71,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.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006748/0.000675, allocations: 12 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.28, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002332/0.2824, allocations: 1.423 MB / 370.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2843, allocations: 0.9421 MB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.2845, allocations: 3.938 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.285, allocations: 283.5 kB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.2854, allocations: 171.7 kB / 372 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2858, allocations: 95.66 kB / 372.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.2861, allocations: 187.6 kB / 372.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.2862, allocations: 13.55 kB / 372.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2864, allocations: 111.7 kB / 372.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.2866, allocations: 151.6 kB / 372.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2867, allocations: 4 kB / 372.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2869, allocations: 51.91 kB / 372.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.287, allocations: 139.6 kB / 372.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.2872, allocations: 77.45 kB / 372.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.2876, allocations: 300.2 kB / 373.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2877, allocations: 0 / 373.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.153e-06/0.2877, allocations: 0 / 373.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.101e-06/0.2877, allocations: 8 kB / 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.001136/0.2888, allocations: 0.7886 MB / 373.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2889, allocations: 8.031 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.289, allocations: 47.44 kB / 374 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.2897, allocations: 411.1 kB / 374.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.2898, allocations: 4 kB / 374.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2898, allocations: 4 kB / 374.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.2901, allocations: 95.3 kB / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.697e-06/0.2901, allocations: 0 / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2901, allocations: 0 / 374.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-06/0.2901, allocations: 3.953 kB / 374.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2903, allocations: 35.97 kB / 374.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.2909, allocations: 390.3 kB / 374.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.2912, allocations: 121.1 kB / 375 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2913, allocations: 0 / 375 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.2916, allocations: 117 kB / 375.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.456e-06/0.2916, allocations: 0 / 375.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006631/0.2923, allocations: 193 kB / 375.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.2924, allocations: 85.06 kB / 375.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.294, allocations: 1.034 MB / 376.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.294, allocations: 29.7 kB / 376.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.2943, allocations: 254.8 kB / 376.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.2943, allocations: 27.61 kB / 376.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.2944, allocations: 12 kB / 376.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2945, allocations: 314.8 kB / 377.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2947, allocations: 47.97 kB / 377.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2949, allocations: 79.34 kB / 377.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.2952, allocations: 115.3 kB / 377.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-06/0.2952, allocations: 4 kB / 377.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005953/0.2958, allocations: 240.8 kB / 377.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.2959, allocations: 71.39 kB / 377.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2959, allocations: 0 / 377.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2959, allocations: 0 / 377.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2961, allocations: 23.98 kB / 377.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.103e-06/0.2961, allocations: 3.984 kB / 377.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2963, allocations: 27.8 kB / 377.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2964, allocations: 12.05 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.0003188/0.2967, allocations: 226.3 kB / 377.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.2968, allocations: 47.34 kB / 377.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.2969, allocations: 56 kB / 378 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.523e-06/0.2969, allocations: 4 kB / 378 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-06/0.2969, allocations: 0 / 378 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-06/0.297, allocations: 3.984 kB / 378 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.2974, allocations: 341.4 kB / 378.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-06/0.2974, allocations: 0 / 378.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.2975, allocations: 16 kB / 378.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.412e-06/0.2975, allocations: 0 / 378.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2975, allocations: 0 / 378.3 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.759e-06/0.2976, allocations: 4 kB / 378.3 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.29e-06/0.2976, allocations: 7.875 kB / 378.4 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.2981, allocations: 209.2 kB / 378.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2983, allocations: 152.5 kB / 378.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.2984, allocations: 4 kB / 378.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2985, allocations: 7.984 kB / 378.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.2986, allocations: 8 kB / 378.7 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.2986, allocations: 7.984 kB / 378.7 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.2998, allocations: 0.7565 MB / 379.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.2998, allocations: 0 / 379.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.3002, allocations: 59.98 kB / 379.5 MB, free: 15.9 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.002075/0.3023, allocations: 0.5817 MB / 380.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.3029, allocations: 258.7 kB / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.303, allocations: 4.125 kB / 380.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3031, allocations: 39.92 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.000436/0.3036, allocations: 58.22 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.001751/0.3054, 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.000641/0.306, allocations: 0.8507 MB / 382.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.3061, allocations: 23.44 kB / 382.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of SimCode: time 5.052e-06/0.3061, allocations: 0 / 382.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01149/0.3176, allocations: 5.196 MB / 387.5 MB, free: 7.949 MB / 314.7 MB