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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007983/0.0007987, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3289, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002221/0.3312, allocations: 1.349 MB / 370.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3326, allocations: 0.7163 MB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3327, allocations: 0 / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3329, allocations: 27.84 kB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.3331, allocations: 31.95 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3333, allocations: 63.75 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3335, allocations: 63.92 kB / 371.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.3336, allocations: 11.97 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.3337, allocations: 35.86 kB / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.3338, allocations: 31.84 kB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3338, allocations: 0 / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.3339, allocations: 27.98 kB / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.3339, allocations: 15.92 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.334, allocations: 45.64 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3342, allocations: 87.8 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.388e-06/0.3342, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.871e-06/0.3342, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3342, allocations: 3.938 kB / 371.7 MB, free: 8.184 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.000573/0.3348, allocations: 462.9 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3349, allocations: 8.031 kB / 372.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.3349, allocations: 7.906 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3352, allocations: 206.8 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3352, allocations: 7.938 kB / 372.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.3353, allocations: 7.984 kB / 372.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3354, allocations: 53.67 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3355, allocations: 4 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3355, allocations: 3.938 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-06/0.3355, allocations: 3.953 kB / 372.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.3356, allocations: 19.98 kB / 372.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3361, allocations: 292.9 kB / 372.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3363, allocations: 70.61 kB / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3363, allocations: 0 / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3365, allocations: 79.25 kB / 372.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.502e-06/0.3366, allocations: 0 / 372.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006466/0.3372, allocations: 181.2 kB / 373.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3373, allocations: 51.41 kB / 373.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3375, allocations: 195.2 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3376, allocations: 29.7 kB / 373.3 MB, free: 6.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3377, allocations: 166.4 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3378, allocations: 27.64 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.3378, allocations: 4 kB / 373.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3379, allocations: 314.8 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3381, allocations: 31.98 kB / 373.9 MB, free: 5.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3382, allocations: 53.16 kB / 373.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3384, allocations: 61.69 kB / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.3384, allocations: 4 kB / 374 MB, free: 5.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003458/0.3387, allocations: 151.2 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3388, allocations: 45.64 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3388, allocations: 0 / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3388, allocations: 4.031 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.339, allocations: 12 kB / 374.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.852e-06/0.339, allocations: 4 kB / 374.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.3391, allocations: 4 kB / 374.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3391, allocations: 11.98 kB / 374.2 MB, free: 5.406 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.000136/0.3392, allocations: 121.8 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3393, allocations: 7.906 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.3393, allocations: 21.34 kB / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-06/0.3394, allocations: 4.031 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-06/0.3394, allocations: 7.938 kB / 374.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-06/0.3394, allocations: 7.938 kB / 374.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.34, allocations: 391.3 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-06/0.34, allocations: 3.938 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.3401, allocations: 8 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.473e-06/0.3401, allocations: 0 / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3401, allocations: 0 / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.688e-06/0.3401, allocations: 8.141 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-06/0.3401, allocations: 4.031 kB / 374.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3405, allocations: 208.2 kB / 375 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.3406, allocations: 96.95 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3406, allocations: 8.375 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.3407, allocations: 0 / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3408, allocations: 15.92 kB / 375.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3408, allocations: 8 kB / 375.1 MB, free: 4.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.341, allocations: 143.9 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.341, allocations: 0 / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.3414, allocations: 28 kB / 375.3 MB, free: 4.23 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.001501/0.3429, allocations: 444.9 kB / 375.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.3432, allocations: 155.3 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.659e-06/0.3433, allocations: 0 / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3434, allocations: 32.17 kB / 375.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3437, allocations: 19.92 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.3443, allocations: 279.9 kB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3448, allocations: 0.7082 MB / 376.9 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.3448, allocations: 15.44 kB / 376.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.516e-06/0.3449, allocations: 0 / 376.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Templates: time 0.004563/0.3494, allocations: 1.89 MB / 378.8 MB, free: 0.7227 MB / 298.7 MB