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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 20 kB / 314.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 54.86 MB / 369.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00229/0.2846, allocations: 1.345 MB / 370.5 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.287, allocations: 1.291 MB / 371.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.765e-05/0.2871, allocations: 0 / 371.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.2874, allocations: 31.84 kB / 371.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.2876, allocations: 35.88 kB / 371.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2879, allocations: 55.83 kB / 372 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2881, allocations: 79.83 kB / 372 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.2882, allocations: 8 kB / 372 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.501e-05/0.2883, allocations: 35.84 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2885, allocations: 47.83 kB / 372.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2885, allocations: 4 kB / 372.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2887, allocations: 43.91 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.2887, allocations: 11.98 kB / 372.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2888, allocations: 41.64 kB / 372.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.289, allocations: 108.5 kB / 372.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.262e-06/0.2891, allocations: 0 / 372.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2891, allocations: 0 / 372.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2891, allocations: 0 / 372.3 MB, free: 7.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006436/0.2897, allocations: 454.3 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2898, allocations: 12.03 kB / 372.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.2899, allocations: 7.906 kB / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.2902, allocations: 210.7 kB / 373 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.2902, allocations: 4 kB / 373 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.2903, allocations: 4 kB / 373 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2905, allocations: 75.38 kB / 373.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2905, allocations: 7.953 kB / 373.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2906, allocations: 4 kB / 373.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-06/0.2906, allocations: 0 / 373.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.2907, allocations: 39.84 kB / 373.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.2912, allocations: 296.9 kB / 373.4 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2915, allocations: 70.67 kB / 373.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.2915, allocations: 7.938 kB / 373.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.2918, allocations: 83.31 kB / 373.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.658e-06/0.2918, allocations: 0 / 373.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007701/0.2926, allocations: 205.1 kB / 373.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.2927, allocations: 77.11 kB / 373.9 MB, free: 5.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2929, allocations: 157.1 kB / 374 MB, free: 5.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.2929, allocations: 29.7 kB / 374 MB, free: 5.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2931, allocations: 162.6 kB / 374.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2931, allocations: 35.61 kB / 374.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.2931, allocations: 4 kB / 374.2 MB, free: 5.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2933, allocations: 318.8 kB / 374.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2934, allocations: 31.98 kB / 374.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2936, allocations: 61.94 kB / 374.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2938, allocations: 81.66 kB / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-06/0.2938, allocations: 0 / 374.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004118/0.2942, allocations: 163.3 kB / 374.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.2943, allocations: 41.69 kB / 374.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-06/0.2943, allocations: 0 / 374.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2943, allocations: 0 / 374.9 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2945, allocations: 23.92 kB / 374.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2945, allocations: 0 / 374.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.2946, allocations: 4 kB / 374.9 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2946, allocations: 7.938 kB / 375 MB, free: 4.527 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 (12): * Single equations (assignments): 11 * 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.0001435/0.2948, allocations: 125.9 kB / 375.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2948, allocations: 23.75 kB / 375.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.2949, allocations: 12.72 kB / 375.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.812e-06/0.2949, allocations: 0 / 375.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.972e-06/0.2949, allocations: 0 / 375.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-06/0.2949, allocations: 0 / 375.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.2957, allocations: 415.3 kB / 375.5 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-06/0.2957, allocations: 4 kB / 375.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.2958, allocations: 19.92 kB / 375.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.125e-06/0.2958, allocations: 0 / 375.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2958, allocations: 4.188 kB / 375.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.072e-06/0.2958, allocations: 4 kB / 375.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.306e-06/0.2958, allocations: 3.938 kB / 375.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.2962, allocations: 220.2 kB / 375.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2963, allocations: 96.98 kB / 375.9 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2964, allocations: 4 kB / 375.9 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2965, allocations: 0 / 375.9 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.2966, allocations: 11.98 kB / 375.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2966, allocations: 4 kB / 375.9 MB, free: 3.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2967, allocations: 111.8 kB / 376 MB, free: 3.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2968, allocations: 0 / 376 MB, free: 3.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000425/0.2972, allocations: 43.98 kB / 376 MB, free: 3.34 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 (9): * Single equations (assignments): 7 * 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.001871/0.2991, allocations: 0.5242 MB / 376.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.2996, allocations: 167.3 kB / 376.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.708e-06/0.2996, allocations: 0 / 376.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2997, allocations: 35.92 kB / 376.8 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3001, allocations: 31.69 kB / 376.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.3007, allocations: 248.2 kB / 377 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3011, allocations: 0.7082 MB / 377.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.3012, allocations: 27.42 kB / 377.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of SimCode: time 1.531e-06/0.3012, allocations: 0 / 377.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of Templates: time 0.005519/0.3067, allocations: 2.245 MB / 380 MB, free: 15.38 MB / 314.7 MB