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.Test73.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.Test73,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.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007234/0.0007236, allocations: 12 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2798, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002397/0.2823, allocations: 1.475 MB / 370.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.2842, allocations: 0.9525 MB / 371.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.2843, allocations: 3.938 kB / 371.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.2847, allocations: 135.7 kB / 371.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.285, allocations: 107.7 kB / 371.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.2854, allocations: 103.7 kB / 372 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.2857, allocations: 151.7 kB / 372.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2858, allocations: 21.55 kB / 372.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.286, allocations: 87.67 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2862, allocations: 111.6 kB / 372.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.2862, allocations: 4 kB / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2863, allocations: 47.92 kB / 372.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.2864, allocations: 47.88 kB / 372.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.2865, allocations: 57.56 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.2868, allocations: 168.3 kB / 372.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.431e-06/0.2868, allocations: 0 / 372.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.2869, allocations: 0 / 372.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2869, allocations: 0 / 372.6 MB, free: 7.223 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.0008185/0.2877, allocations: 0.6075 MB / 373.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2878, allocations: 8.031 kB / 373.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.2878, allocations: 23.72 kB / 373.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.2882, allocations: 242.6 kB / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2882, allocations: 4 kB / 373.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2883, allocations: 12 kB / 373.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2886, allocations: 99.3 kB / 373.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2886, allocations: 4 kB / 373.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2886, allocations: 11.94 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2886, allocations: 4 kB / 373.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2888, allocations: 35.98 kB / 373.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.2895, allocations: 456.8 kB / 374.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.2899, allocations: 121.3 kB / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.2899, allocations: 7.938 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.2903, allocations: 117 kB / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 6.275e-06/0.2903, allocations: 0 / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001189/0.2915, allocations: 376 kB / 374.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2916, allocations: 77.11 kB / 374.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.2921, allocations: 350.6 kB / 375.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2921, allocations: 29.7 kB / 375.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.2923, allocations: 190.9 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.2924, allocations: 47.36 kB / 375.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.2924, allocations: 4 kB / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2926, allocations: 322.8 kB / 375.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2928, allocations: 56.16 kB / 375.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.293, allocations: 97.45 kB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2933, allocations: 131.3 kB / 376 MB, free: 3.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-06/0.2933, allocations: 4 kB / 376 MB, free: 3.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006363/0.2939, allocations: 280.8 kB / 376.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.294, allocations: 67.39 kB / 376.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-06/0.2941, allocations: 0 / 376.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2941, allocations: 4.188 kB / 376.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2943, allocations: 35.92 kB / 376.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.2e-06/0.2943, allocations: 3.938 kB / 376.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2944, allocations: 16.06 kB / 376.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.2945, allocations: 12 kB / 376.4 MB, free: 3.113 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.0002022/0.2947, allocations: 157.8 kB / 376.6 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.2947, allocations: 23.67 kB / 376.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.2948, allocations: 29.7 kB / 376.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-06/0.2949, allocations: 4 kB / 376.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-06/0.2949, allocations: 0 / 376.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.569e-06/0.2949, allocations: 0 / 376.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2959, allocations: 0.6171 MB / 377.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-06/0.296, allocations: 0 / 377.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.2961, allocations: 23.98 kB / 377.3 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.2961, allocations: 4 kB / 377.3 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2961, allocations: 4 kB / 377.3 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2961, allocations: 4 kB / 377.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.265e-06/0.2962, allocations: 8.047 kB / 377.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.2967, allocations: 368 kB / 377.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2969, allocations: 112.8 kB / 377.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2969, allocations: 8 kB / 377.8 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2971, allocations: 15.92 kB / 377.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2972, allocations: 11.98 kB / 377.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.2972, allocations: 8 kB / 377.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003316/0.2976, allocations: 253.9 kB / 378.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.09e-07/0.2976, allocations: 0 / 378.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.2981, allocations: 59.98 kB / 378.1 MB, free: 1.312 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.00242/0.3006, allocations: 0.6962 MB / 378.8 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.3012, allocations: 294.7 kB / 379.1 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.312e-06/0.3012, allocations: 0 / 379.1 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3014, allocations: 68.09 kB / 379.2 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3018, allocations: 44.81 kB / 379.2 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.3028, allocations: 483.3 kB / 379.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3033, 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 7.795e-05/0.3034, allocations: 27.42 kB / 380.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.376e-06/0.3035, allocations: 0 / 380.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Templates: time 0.007188/0.3106, allocations: 3.406 MB / 383.9 MB, free: 11.55 MB / 314.7 MB