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.Test59.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.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 15.98 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002344/0.2812, allocations: 1.345 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2836, allocations: 1.291 MB / 371.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.2837, allocations: 0 / 371.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.284, allocations: 19.86 kB / 371.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.2842, allocations: 47.88 kB / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.2844, allocations: 55.81 kB / 372 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.2846, allocations: 67.86 kB / 372 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.2847, allocations: 4 kB / 372 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.2848, allocations: 39.84 kB / 372.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.285, allocations: 35.83 kB / 372.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.285, allocations: 4 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.2852, allocations: 43.92 kB / 372.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.2852, allocations: 19.92 kB / 372.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.2853, allocations: 29.7 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2855, allocations: 95.8 kB / 372.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.44e-06/0.2855, allocations: 0 / 372.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.2855, allocations: 0 / 372.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.109e-06/0.2856, allocations: 4 kB / 372.3 MB, free: 7.574 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.0006385/0.2862, allocations: 455 kB / 372.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2863, allocations: 8.031 kB / 372.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.2863, allocations: 7.906 kB / 372.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2866, allocations: 199 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2867, allocations: 4 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.2867, allocations: 7.984 kB / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.2869, allocations: 67.39 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.287, allocations: 7.922 kB / 373 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.287, allocations: 0 / 373 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-06/0.287, allocations: 15.83 kB / 373 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.2871, allocations: 15.98 kB / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.2876, allocations: 296.8 kB / 373.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2878, allocations: 54.69 kB / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2879, allocations: 0 / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2881, allocations: 79.28 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.2881, allocations: 0 / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006884/0.2888, allocations: 173.2 kB / 373.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.2889, allocations: 81.11 kB / 373.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.2891, allocations: 149.1 kB / 373.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2891, allocations: 29.7 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2893, allocations: 158.5 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.2893, allocations: 31.62 kB / 374.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2893, allocations: 4 kB / 374.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2895, allocations: 318.8 kB / 374.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2896, allocations: 31.98 kB / 374.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.2898, allocations: 57.78 kB / 374.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2899, allocations: 61.7 kB / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2899, allocations: 0 / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003784/0.2903, allocations: 159.3 kB / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.2904, allocations: 45.69 kB / 374.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.664e-06/0.2904, allocations: 0 / 374.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2904, allocations: 0 / 374.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2906, allocations: 19.92 kB / 374.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-06/0.2906, allocations: 4 kB / 374.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.2907, allocations: 4 kB / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2907, allocations: 4 kB / 374.8 MB, free: 4.812 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.0001408/0.2909, allocations: 121.8 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2909, allocations: 15.86 kB / 374.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.291, allocations: 17.08 kB / 374.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.415e-06/0.291, allocations: 0 / 374.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-06/0.291, allocations: 3.938 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.291, allocations: 0 / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.2917, allocations: 395.2 kB / 375.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.462e-06/0.2917, allocations: 0 / 375.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2918, allocations: 12 kB / 375.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-06/0.2918, allocations: 8.031 kB / 375.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2918, allocations: 3.984 kB / 375.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-06/0.2918, allocations: 3.938 kB / 375.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-06/0.2918, allocations: 0 / 375.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.2922, allocations: 208.5 kB / 375.6 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.2923, allocations: 96.94 kB / 375.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.2923, allocations: 0 / 375.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2925, allocations: 8 kB / 375.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2925, allocations: 7.984 kB / 375.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.2925, allocations: 8 kB / 375.7 MB, free: 3.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2927, allocations: 107.2 kB / 375.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.2927, allocations: 0 / 375.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.2931, allocations: 36 kB / 375.8 MB, free: 3.676 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.001835/0.2949, allocations: 0.5311 MB / 376.3 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.2953, allocations: 151.3 kB / 376.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2954, allocations: 0 / 376.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2955, allocations: 35.92 kB / 376.5 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2958, allocations: 23.88 kB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.2963, allocations: 235.9 kB / 376.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2968, allocations: 0.7043 MB / 377.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.2968, allocations: 15.44 kB / 377.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of SimCode: time 1.64e-06/0.2968, allocations: 3.938 kB / 377.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of Templates: time 0.005146/0.302, allocations: 2.116 MB / 379.6 MB, free: 15.88 MB / 314.7 MB