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.Test68.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.Test68,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.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004567, allocations: 20 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3193, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002465/0.3218, allocations: 1.427 MB / 370.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3238, allocations: 0.9343 MB / 371.6 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.324, allocations: 3.938 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.3245, allocations: 271.5 kB / 371.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.3249, allocations: 171.7 kB / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.3253, allocations: 103.6 kB / 372.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.3256, allocations: 175.6 kB / 372.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.3257, allocations: 17.53 kB / 372.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3259, allocations: 111.7 kB / 372.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3262, allocations: 147.6 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.3262, allocations: 8 kB / 372.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.3264, allocations: 47.92 kB / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3266, allocations: 127.6 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3267, allocations: 73.52 kB / 372.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.3272, allocations: 296.2 kB / 373.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3273, allocations: 0 / 373.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3273, allocations: 4 kB / 373.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.614e-06/0.3273, allocations: 0 / 373.1 MB, free: 6.797 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.3284, allocations: 0.7808 MB / 373.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3285, allocations: 12.03 kB / 373.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3286, allocations: 47.34 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/0.3293, allocations: 403.3 kB / 374.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3294, allocations: 4 kB / 374.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3294, allocations: 4 kB / 374.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3297, allocations: 103.2 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.145e-06/0.3297, allocations: 4 kB / 374.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3297, allocations: 0 / 374.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-06/0.3297, allocations: 7.891 kB / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3299, allocations: 31.97 kB / 374.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.3305, allocations: 386.2 kB / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.3309, allocations: 113.2 kB / 375 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3309, allocations: 0 / 375 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.3312, allocations: 121 kB / 375.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.519e-06/0.3312, allocations: 0 / 375.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006453/0.3319, allocations: 196.9 kB / 375.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.332, allocations: 89.06 kB / 375.4 MB, free: 4.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.3335, allocations: 0.991 MB / 376.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.3336, allocations: 29.7 kB / 376.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.3338, allocations: 254.8 kB / 376.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.3339, allocations: 39.56 kB / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.3339, allocations: 0 / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3341, allocations: 322.8 kB / 377 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3343, allocations: 47.97 kB / 377 MB, free: 2.586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3345, allocations: 75.41 kB / 377.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.3347, allocations: 115.3 kB / 377.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-06/0.3347, allocations: 0 / 377.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005919/0.3354, allocations: 244.8 kB / 377.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.3354, allocations: 67.39 kB / 377.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.228e-06/0.3355, allocations: 0 / 377.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3355, allocations: 4 kB / 377.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3357, allocations: 19.98 kB / 377.5 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3357, allocations: 4 kB / 377.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.3359, allocations: 27.86 kB / 377.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3359, allocations: 8 kB / 377.6 MB, free: 1.977 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.0003245/0.3363, allocations: 225.7 kB / 377.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.3364, allocations: 43.44 kB / 377.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3365, allocations: 59.75 kB / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3365, allocations: 0 / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.412e-06/0.3365, allocations: 0 / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.667e-06/0.3365, allocations: 4 kB / 377.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.337, allocations: 341.2 kB / 378.2 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.102e-06/0.337, allocations: 4 kB / 378.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.3371, allocations: 8 kB / 378.2 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-06/0.3371, allocations: 3.938 kB / 378.2 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3371, allocations: 3.984 kB / 378.3 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.008e-06/0.3371, allocations: 4 kB / 378.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-06/0.3371, allocations: 0 / 378.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.3376, allocations: 205.9 kB / 378.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.3379, allocations: 148.4 kB / 378.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.338, allocations: 4 kB / 378.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3381, allocations: 7.984 kB / 378.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.3382, allocations: 15.92 kB / 378.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.3382, allocations: 8 kB / 378.6 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.3393, allocations: 0.737 MB / 379.4 MB, free: 80 kB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.3393, allocations: 96 / 379.4 MB, free: 80 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004354/0.3398, allocations: 63.92 kB / 379.4 MB, free: 16 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.002119/0.3419, allocations: 0.5795 MB / 380 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.3426, allocations: 266.8 kB / 380.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.736e-06/0.3426, allocations: 0 / 380.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3428, allocations: 43.91 kB / 380.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3433, allocations: 54.17 kB / 380.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3451, allocations: 0.9262 MB / 381.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.3457, allocations: 0.839 MB / 382.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3459, allocations: 31.42 kB / 382.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of SimCode: time 2.127e-06/0.3459, allocations: 0 / 382.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of Templates: time 0.01118/0.3571, allocations: 5.091 MB / 387.3 MB, free: 8.191 MB / 314.7 MB