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.Test69.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.Test69,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.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004971, allocations: 20 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2812, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002371/0.2836, allocations: 1.419 MB / 370.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.2856, allocations: 0.9499 MB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.2858, allocations: 0 / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.2863, allocations: 275.4 kB / 371.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.2867, allocations: 167.7 kB / 372 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2871, allocations: 99.64 kB / 372.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.2874, allocations: 183.7 kB / 372.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.2875, allocations: 5.562 kB / 372.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.2877, allocations: 119.6 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.288, allocations: 143.6 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.288, allocations: 4 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.2882, allocations: 47.92 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.2884, allocations: 131.6 kB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2885, allocations: 81.45 kB / 372.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.2889, allocations: 292.2 kB / 373.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2889, allocations: 0 / 373.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.289, allocations: 7.938 kB / 373.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.289, allocations: 4 kB / 373.1 MB, free: 6.77 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.001126/0.2901, allocations: 0.7691 MB / 373.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2902, allocations: 8.031 kB / 373.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2903, allocations: 55.33 kB / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.291, allocations: 407.2 kB / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.291, allocations: 0 / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2911, allocations: 11.98 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.2914, allocations: 91.34 kB / 374.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.424e-06/0.2914, allocations: 0 / 374.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2914, allocations: 4 kB / 374.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-06/0.2914, allocations: 7.953 kB / 374.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2916, allocations: 27.92 kB / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.2921, allocations: 394.2 kB / 374.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2925, allocations: 109.2 kB / 375 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2926, allocations: 0 / 375 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.2929, allocations: 113 kB / 375.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.672e-06/0.2929, allocations: 0 / 375.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006609/0.2936, allocations: 200.9 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.2937, allocations: 85.05 kB / 375.3 MB, free: 4.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.2952, allocations: 0.9949 MB / 376.3 MB, free: 3.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2953, allocations: 29.7 kB / 376.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.2955, allocations: 254.8 kB / 376.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.2956, allocations: 35.55 kB / 376.7 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.2956, allocations: 4 kB / 376.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2958, allocations: 318.8 kB / 377 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.296, allocations: 47.92 kB / 377 MB, free: 2.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2962, allocations: 83.39 kB / 377.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2965, allocations: 111.3 kB / 377.2 MB, free: 2.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.585e-06/0.2965, allocations: 0 / 377.2 MB, free: 2.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005914/0.2971, allocations: 240.8 kB / 377.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.2972, allocations: 71.39 kB / 377.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-06/0.2972, allocations: 0 / 377.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2972, allocations: 0 / 377.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2974, allocations: 27.92 kB / 377.5 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.53e-06/0.2974, allocations: 0 / 377.5 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2977, allocations: 31.84 kB / 377.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2977, allocations: 8 kB / 377.6 MB, free: 1.961 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.0003194/0.298, allocations: 213.8 kB / 377.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.2981, allocations: 47.42 kB / 377.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.2982, allocations: 55.78 kB / 377.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2983, allocations: 0.625 kB / 377.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.953e-06/0.2983, allocations: 3.984 kB / 377.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-06/0.2983, allocations: 0 / 377.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.2987, allocations: 337.3 kB / 378.2 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.017e-06/0.2988, allocations: 12 kB / 378.2 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.2988, allocations: 15.92 kB / 378.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.043e-06/0.2988, allocations: 4 kB / 378.3 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2989, allocations: 0 / 378.3 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.2989, allocations: 3.938 kB / 378.3 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2989, allocations: 4 kB / 378.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.2994, allocations: 205.2 kB / 378.5 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.2996, allocations: 152.4 kB / 378.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.2997, allocations: 4 kB / 378.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2998, allocations: 4 kB / 378.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.2999, allocations: 15.97 kB / 378.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2999, allocations: 7.984 kB / 378.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.301, allocations: 0.7331 MB / 379.4 MB, free: 68 kB / 298.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.301, allocations: 0 / 379.4 MB, free: 68 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004398/0.3015, allocations: 59.98 kB / 379.4 MB, free: 8 kB / 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: 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.002125/0.3036, allocations: 0.5829 MB / 380 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.3042, allocations: 266.7 kB / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.385e-06/0.3042, allocations: 0 / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3044, allocations: 43.97 kB / 380.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.3049, allocations: 54.17 kB / 380.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3067, allocations: 0.9261 MB / 381.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.3073, allocations: 0.8468 MB / 382.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3074, allocations: 23.44 kB / 382.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.588e-06/0.3075, allocations: 0 / 382.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Templates: time 0.01141/0.3189, allocations: 5.087 MB / 387.3 MB, free: 8.18 MB / 314.7 MB