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.Test57.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.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004417, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2794, allocations: 54.89 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002296/0.2817, allocations: 1.345 MB / 370.5 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2841, allocations: 1.291 MB / 371.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.2842, allocations: 0 / 371.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2845, allocations: 31.84 kB / 371.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.2847, allocations: 39.88 kB / 371.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2849, allocations: 51.83 kB / 372 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.2851, allocations: 67.84 kB / 372 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.2852, allocations: 8 kB / 372 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.2853, allocations: 43.83 kB / 372.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2855, allocations: 23.92 kB / 372.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2855, allocations: 4 kB / 372.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2857, allocations: 55.84 kB / 372.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.2857, allocations: 7.984 kB / 372.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.2858, allocations: 37.64 kB / 372.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.2861, allocations: 103.8 kB / 372.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.787e-06/0.2861, allocations: 0 / 372.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.2861, allocations: 0 / 372.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.339e-06/0.2861, allocations: 0 / 372.3 MB, free: 7.699 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.0006425/0.2867, allocations: 447 kB / 372.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2868, allocations: 8.031 kB / 372.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.2869, allocations: 15.91 kB / 372.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2872, allocations: 187 kB / 372.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2872, allocations: 4 kB / 372.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2872, allocations: 11.98 kB / 373 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.2875, allocations: 67.33 kB / 373 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2875, allocations: 3.938 kB / 373 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.2875, allocations: 4 kB / 373 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2875, allocations: 3.953 kB / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.2876, allocations: 23.98 kB / 373.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.2881, allocations: 292.8 kB / 373.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2883, allocations: 62.61 kB / 373.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2884, allocations: 3.938 kB / 373.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.2886, allocations: 75.34 kB / 373.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.698e-06/0.2886, allocations: 0 / 373.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006684/0.2893, allocations: 181.2 kB / 373.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2894, allocations: 77.11 kB / 373.7 MB, free: 6.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2896, allocations: 145.1 kB / 373.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2896, allocations: 29.7 kB / 373.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2897, allocations: 162.5 kB / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.2898, allocations: 27.64 kB / 374.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.2898, allocations: 4 kB / 374.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.29, allocations: 318.8 kB / 374.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2901, allocations: 31.98 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2902, allocations: 54.5 kB / 374.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2904, allocations: 61.7 kB / 374.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-06/0.2904, allocations: 0 / 374.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003761/0.2908, allocations: 167.3 kB / 374.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2909, allocations: 37.7 kB / 374.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-06/0.2909, allocations: 0 / 374.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2909, allocations: 0 / 374.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.291, allocations: 19.98 kB / 374.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.425e-06/0.2911, allocations: 0 / 374.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.2911, allocations: 4 kB / 374.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2912, allocations: 4 kB / 374.8 MB, free: 4.949 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.0001484/0.2913, allocations: 137.5 kB / 374.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2914, allocations: 11.86 kB / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2914, allocations: 13.09 kB / 374.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-06/0.2915, allocations: 0 / 374.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2915, allocations: 3.938 kB / 374.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-06/0.2915, allocations: 0 / 374.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.2921, allocations: 395.2 kB / 375.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.104e-06/0.2922, allocations: 4 kB / 375.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.2922, allocations: 16.02 kB / 375.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.069e-06/0.2922, allocations: 0 / 375.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2923, allocations: 4 kB / 375.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2923, allocations: 0 / 375.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.221e-06/0.2923, allocations: 4 kB / 375.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.2926, allocations: 208.4 kB / 375.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2927, allocations: 93 kB / 375.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.2928, allocations: 7.938 kB / 375.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2929, allocations: 7.984 kB / 375.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.293, allocations: 4.094 kB / 375.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.293, allocations: 11.94 kB / 375.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.2931, allocations: 107.2 kB / 375.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.2931, allocations: 0 / 375.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.2936, allocations: 39.98 kB / 375.8 MB, free: 3.801 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.001869/0.2954, allocations: 0.5176 MB / 376.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.2959, allocations: 159.3 kB / 376.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.523e-06/0.2959, allocations: 0 / 376.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.296, allocations: 24 kB / 376.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2963, allocations: 32.03 kB / 376.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.2969, allocations: 243.8 kB / 376.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2973, allocations: 0.7004 MB / 377.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.2974, allocations: 19.42 kB / 377.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of SimCode: time 1.796e-06/0.2974, allocations: 0 / 377.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of Templates: time 0.005475/0.3029, allocations: 2.116 MB / 379.6 MB, free: 16 kB / 298.7 MB