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.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 234.9 MB / 250.5 MB, free: 9.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 12 kB / 314.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002245/0.2818, allocations: 1.345 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2833, allocations: 0.7203 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.2834, allocations: 3.938 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2837, allocations: 39.83 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2839, allocations: 35.94 kB / 371.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2841, allocations: 55.83 kB / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2843, allocations: 91.81 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.2844, allocations: 12 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2845, allocations: 43.83 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2847, allocations: 43.83 kB / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2847, allocations: 0 / 371.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2848, allocations: 27.98 kB / 371.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.2849, allocations: 23.92 kB / 371.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.285, allocations: 37.64 kB / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2852, allocations: 104.5 kB / 371.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.828e-06/0.2852, allocations: 0 / 371.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.332e-06/0.2852, allocations: 0 / 371.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.053e-06/0.2852, allocations: 3.938 kB / 371.8 MB, free: 8.094 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006608/0.2859, allocations: 462.2 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2859, allocations: 11.97 kB / 372.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.286, allocations: 15.89 kB / 372.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.2863, allocations: 210.8 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2864, allocations: 11.94 kB / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.2864, allocations: 4 kB / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.2866, allocations: 69.66 kB / 372.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2866, allocations: 0 / 372.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2867, allocations: 0 / 372.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.725e-06/0.2867, allocations: 7.953 kB / 372.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.2869, allocations: 35.97 kB / 372.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.2874, allocations: 320.7 kB / 372.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.2877, allocations: 94.59 kB / 373 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2877, allocations: 0 / 373 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.288, allocations: 83.33 kB / 373.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.288, allocations: 0 / 373.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008244/0.2888, allocations: 233.1 kB / 373.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.2889, allocations: 59.34 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2891, allocations: 179.3 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2892, allocations: 33.7 kB / 373.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2893, allocations: 162.9 kB / 373.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.2894, allocations: 35.55 kB / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-06/0.2894, allocations: 0 / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2896, allocations: 318.8 kB / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.2897, allocations: 39.98 kB / 374.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2899, allocations: 61.69 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.29, allocations: 73.69 kB / 374.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-06/0.2901, allocations: 0 / 374.2 MB, free: 5.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000423/0.2905, allocations: 187.1 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.2906, allocations: 45.64 kB / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.024e-06/0.2906, allocations: 0 / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2906, allocations: 4 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2907, allocations: 20.02 kB / 374.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2908, allocations: 4 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.2909, allocations: 4 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2909, allocations: 8 kB / 374.5 MB, free: 5.105 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 (13): * Single equations (assignments): 12 * 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.0001504/0.291, allocations: 129.8 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.2911, allocations: 11.91 kB / 374.6 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.2912, allocations: 29.3 kB / 374.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-06/0.2912, allocations: 0 / 374.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.629e-06/0.2912, allocations: 3.984 kB / 374.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-06/0.2912, allocations: 4 kB / 374.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.292, allocations: 435.3 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.292, allocations: 0 / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.2921, allocations: 8 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.213e-06/0.2921, allocations: 4 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2921, allocations: 3.938 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.014e-06/0.2921, allocations: 4 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-06/0.2922, allocations: 0 / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.2926, allocations: 232.2 kB / 375.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2927, allocations: 100.9 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.2927, allocations: 11.98 kB / 375.5 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2929, allocations: 8 kB / 375.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2929, allocations: 7.984 kB / 375.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.293, allocations: 4 kB / 375.5 MB, free: 4.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.2931, allocations: 136 kB / 375.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.2932, allocations: 0 / 375.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.2936, allocations: 35.98 kB / 375.7 MB, free: 3.859 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 (10): * Single equations (assignments): 8 * 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.001535/0.2951, allocations: 450.5 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.2955, allocations: 171.3 kB / 376.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.375e-06/0.2956, allocations: 4.062 kB / 376.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2957, allocations: 43.92 kB / 376.3 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.296, allocations: 22.81 kB / 376.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.2967, allocations: 288.3 kB / 376.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.2971, allocations: 0.7198 MB / 377.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.2972, allocations: 23.36 kB / 377.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of SimCode: time 1.445e-06/0.2972, allocations: 0 / 377.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of Templates: time 0.004983/0.3022, allocations: 2.085 MB / 379.4 MB, free: 100 kB / 298.7 MB