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.Test77.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.Test77,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.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007908/0.0007911, allocations: 12 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2849, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002577/0.2875, allocations: 1.479 MB / 370.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2897, allocations: 0.9525 MB / 371.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2898, allocations: 4 kB / 371.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2902, allocations: 135.7 kB / 371.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.2905, allocations: 107.7 kB / 371.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.2909, allocations: 103.7 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2912, allocations: 151.7 kB / 372.1 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2914, allocations: 25.53 kB / 372.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2915, allocations: 79.73 kB / 372.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2918, allocations: 111.6 kB / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.2918, allocations: 4 kB / 372.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.292, allocations: 51.91 kB / 372.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.2921, allocations: 47.83 kB / 372.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.2921, allocations: 49.58 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.2925, allocations: 172.3 kB / 372.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.862e-06/0.2925, allocations: 0 / 372.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.2925, allocations: 0 / 372.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.895e-06/0.2925, allocations: 0 / 372.6 MB, free: 7.219 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.0008438/0.2934, allocations: 0.6076 MB / 373.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2934, allocations: 8.031 kB / 373.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.2935, allocations: 23.72 kB / 373.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.2939, allocations: 246.5 kB / 373.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2939, allocations: 4 kB / 373.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.294, allocations: 12 kB / 373.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2943, allocations: 95.36 kB / 373.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2943, allocations: 4 kB / 373.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.2943, allocations: 7.938 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.132e-06/0.2944, allocations: 0 / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2945, allocations: 47.91 kB / 373.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.2953, allocations: 448.9 kB / 374.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.2957, allocations: 129.3 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2957, allocations: 0 / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.296, allocations: 124.9 kB / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 5.019e-06/0.2961, allocations: 0 / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001205/0.2973, allocations: 368.1 kB / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.2974, allocations: 77.11 kB / 374.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.2979, allocations: 350.5 kB / 375.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2979, allocations: 33.7 kB / 375.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2981, allocations: 182.9 kB / 375.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.2982, allocations: 55.34 kB / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.2982, allocations: 8 kB / 375.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2984, allocations: 322.8 kB / 375.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2986, allocations: 56.16 kB / 375.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2988, allocations: 97.45 kB / 375.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2991, allocations: 127.4 kB / 376 MB, free: 3.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-06/0.2991, allocations: 0 / 376 MB, free: 3.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006525/0.2998, allocations: 288.8 kB / 376.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.2999, allocations: 67.39 kB / 376.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.821e-06/0.2999, allocations: 0 / 376.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.2999, allocations: 4.188 kB / 376.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3001, allocations: 31.92 kB / 376.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3001, allocations: 7.938 kB / 376.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3003, allocations: 16.06 kB / 376.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3003, allocations: 12.16 kB / 376.4 MB, free: 3.105 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.0002078/0.3005, allocations: 149.8 kB / 376.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.3006, allocations: 27.67 kB / 376.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.3007, allocations: 33.69 kB / 376.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-06/0.3007, allocations: 0 / 376.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-06/0.3007, allocations: 4 kB / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-06/0.3008, allocations: 0 / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3018, allocations: 0.6163 MB / 377.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3019, allocations: 0 / 377.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/0.302, allocations: 23.92 kB / 377.3 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-06/0.302, allocations: 0 / 377.3 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.302, allocations: 8 kB / 377.3 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-06/0.302, allocations: 4.75 kB / 377.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.302, allocations: 64 / 377.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.3026, allocations: 371.6 kB / 377.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3028, allocations: 116.8 kB / 377.8 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.3028, allocations: 4 kB / 377.8 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.303, allocations: 23.92 kB / 377.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.3031, allocations: 11.98 kB / 377.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.3032, allocations: 8 kB / 377.8 MB, free: 1.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003355/0.3035, allocations: 253.9 kB / 378.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.3035, allocations: 0 / 378.1 MB, free: 1.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.3041, allocations: 59.98 kB / 378.1 MB, free: 1.305 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.00248/0.3065, allocations: 0.6837 MB / 378.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.3073, allocations: 298.6 kB / 379.1 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3073, allocations: 0 / 379.1 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3075, allocations: 60.16 kB / 379.2 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.308, allocations: 44.81 kB / 379.2 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3091, allocations: 499.1 kB / 379.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3096, allocations: 0.7556 MB / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.3097, allocations: 27.42 kB / 380.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.945e-06/0.3097, allocations: 0 / 380.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Templates: time 0.007528/0.3172, allocations: 3.406 MB / 383.9 MB, free: 11.55 MB / 314.7 MB