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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 23.98 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002236/0.3199, allocations: 1.349 MB / 370.5 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3214, allocations: 0.7086 MB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.3215, allocations: 11.94 kB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.3218, allocations: 23.91 kB / 371.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.322, allocations: 35.88 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3222, allocations: 51.83 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3224, allocations: 71.84 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.3225, allocations: 8 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.3226, allocations: 35.84 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.3226, allocations: 31.84 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3227, allocations: 8 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.3228, allocations: 23.98 kB / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.3228, allocations: 15.92 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3229, allocations: 41.58 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.3231, allocations: 83.88 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.693e-06/0.3231, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.917e-06/0.3231, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3231, allocations: 0 / 371.7 MB, free: 8.188 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.0005894/0.3237, allocations: 447 kB / 372.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3238, allocations: 19.97 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3239, allocations: 11.81 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3241, allocations: 198.8 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3242, allocations: 4 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.3242, allocations: 8 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3244, allocations: 57.66 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3244, allocations: 11.78 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3245, allocations: 0 / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-06/0.3245, allocations: 3.953 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.3246, allocations: 23.98 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.3251, allocations: 292.9 kB / 372.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3253, allocations: 54.67 kB / 372.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3253, allocations: 3.938 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.3255, allocations: 79.34 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.48e-06/0.3256, allocations: 0 / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000669/0.3262, allocations: 177.2 kB / 373.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3263, allocations: 51.41 kB / 373.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3266, allocations: 190 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3266, allocations: 29.7 kB / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3267, allocations: 158.6 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3268, allocations: 23.7 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-06/0.3268, allocations: 8 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.327, allocations: 318.8 kB / 373.8 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3271, allocations: 31.98 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3272, allocations: 45.7 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.3274, allocations: 65.69 kB / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-06/0.3274, allocations: 0 / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003541/0.3277, allocations: 159.2 kB / 374.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.3278, allocations: 37.66 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-06/0.3278, allocations: 0 / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3278, allocations: 0 / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.328, allocations: 23.92 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.996e-06/0.328, allocations: 80 / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.849e-05/0.3281, allocations: 8 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3281, allocations: 7.984 kB / 374.2 MB, free: 5.438 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.0001559/0.3283, allocations: 133.3 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3283, allocations: 11.94 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.3284, allocations: 16.67 kB / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.266e-06/0.3284, allocations: 3.984 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-06/0.3284, allocations: 4.312 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-06/0.3284, allocations: 96 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.3291, allocations: 399.2 kB / 374.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.607e-06/0.3291, allocations: 3.984 kB / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3292, allocations: 8 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-06/0.3292, allocations: 4.031 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3292, allocations: 8 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.178e-06/0.3292, allocations: 0 / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.887e-06/0.3292, allocations: 3.938 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3295, allocations: 200.3 kB / 375 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.3297, allocations: 96.95 kB / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3297, allocations: 11.98 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3298, allocations: 4 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3299, allocations: 4 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.3299, allocations: 3.984 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3301, allocations: 135.2 kB / 375.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.3301, allocations: 0 / 375.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.3305, allocations: 28 kB / 375.2 MB, free: 4.277 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.001526/0.332, allocations: 460.9 kB / 375.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.3324, allocations: 147.4 kB / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.847e-06/0.3324, allocations: 0 / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3325, allocations: 31.92 kB / 375.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3328, allocations: 16.17 kB / 375.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.3334, allocations: 267.9 kB / 376.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3338, allocations: 0.7082 MB / 376.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.3339, allocations: 11.44 kB / 376.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.428e-06/0.3339, allocations: 4 kB / 376.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of Templates: time 0.004626/0.3385, allocations: 1.869 MB / 378.7 MB, free: 0.8008 MB / 298.7 MB