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.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004433, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002578/0.2796, allocations: 1.483 MB / 370.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2816, allocations: 0.9564 MB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2818, allocations: 0 / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.2823, allocations: 231.5 kB / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.2827, allocations: 151.6 kB / 372 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2832, allocations: 107.6 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.2835, allocations: 179.6 kB / 372.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2837, allocations: 17.56 kB / 372.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.2839, allocations: 107.7 kB / 372.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2841, allocations: 139.6 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2842, allocations: 8 kB / 372.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2844, allocations: 47.91 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.2845, allocations: 59.81 kB / 372.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.2846, allocations: 61.52 kB / 372.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2849, allocations: 196.3 kB / 372.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.891e-06/0.2849, allocations: 0 / 372.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.2849, allocations: 0 / 372.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.133e-06/0.285, allocations: 0 / 372.9 MB, free: 6.965 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008949/0.2859, allocations: 0.6296 MB / 373.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2859, allocations: 8.031 kB / 373.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.286, allocations: 35.62 kB / 373.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.2864, allocations: 267 kB / 373.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.2865, allocations: 7.984 kB / 373.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.2865, allocations: 12 kB / 373.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2868, allocations: 95.36 kB / 374 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2868, allocations: 0 / 374 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2869, allocations: 3.953 kB / 374 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.552e-06/0.2869, allocations: 3.984 kB / 374 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2871, allocations: 47.91 kB / 374 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.2878, allocations: 472.9 kB / 374.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.2882, allocations: 117.3 kB / 374.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.2882, allocations: 4 kB / 374.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.2886, allocations: 113 kB / 374.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.819e-06/0.2886, allocations: 7.875 kB / 374.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001245/0.2899, allocations: 383.8 kB / 375.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.2899, allocations: 81.11 kB / 375.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.2906, allocations: 472.4 kB / 375.6 MB, free: 4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.2907, allocations: 29.7 kB / 375.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2909, allocations: 214.8 kB / 375.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.2909, allocations: 43.34 kB / 375.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.291, allocations: 8 kB / 375.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2912, allocations: 322.8 kB / 376.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.2914, allocations: 60.16 kB / 376.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2916, allocations: 97.84 kB / 376.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.2919, allocations: 123.4 kB / 376.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.2919, allocations: 0 / 376.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006539/0.2926, allocations: 296.8 kB / 376.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/0.2927, allocations: 67.39 kB / 376.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.896e-06/0.2927, allocations: 0 / 376.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2927, allocations: 4 kB / 376.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2929, allocations: 27.98 kB / 376.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.2929, allocations: 11.92 kB / 376.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2931, allocations: 8 kB / 376.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2932, allocations: 12.75 kB / 376.9 MB, free: 2.633 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.00025/0.2934, allocations: 169.8 kB / 377.1 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.2935, allocations: 31.58 kB / 377.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.2936, allocations: 34.81 kB / 377.2 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.597e-06/0.2936, allocations: 7.984 kB / 377.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-06/0.2936, allocations: 0 / 377.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.387e-06/0.2936, allocations: 0 / 377.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2948, allocations: 0.632 MB / 377.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2948, allocations: 4 kB / 377.8 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.2949, allocations: 23.92 kB / 377.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.775e-06/0.2949, allocations: 0 / 377.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.295, allocations: 4 kB / 377.8 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.295, allocations: 7.984 kB / 377.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.18e-06/0.295, allocations: 0 / 377.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.2956, allocations: 372.9 kB / 378.2 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.2957, allocations: 120.7 kB / 378.3 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.2958, allocations: 7.922 kB / 378.3 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.296, allocations: 8 kB / 378.3 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2961, allocations: 11.98 kB / 378.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2961, allocations: 11.98 kB / 378.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004662/0.2966, allocations: 347 kB / 378.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.2966, allocations: 0 / 378.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005256/0.2972, allocations: 67.89 kB / 378.8 MB, free: 0.6797 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002447/0.2996, allocations: 0.7023 MB / 379.5 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.3004, allocations: 298.7 kB / 379.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3004, allocations: 0 / 379.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3006, allocations: 59.92 kB / 379.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.3011, allocations: 41.36 kB / 379.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3024, allocations: 0.5977 MB / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.303, allocations: 0.779 MB / 381.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.3031, allocations: 23.42 kB / 381.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of SimCode: time 2.059e-06/0.3031, allocations: 0 / 381.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of Templates: time 0.008381/0.3115, allocations: 3.677 MB / 384.9 MB, free: 10.51 MB / 314.7 MB