Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004419, allocations: 12 kB / 282.5 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 48.72 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00225/0.2864, allocations: 1.452 MB / 332.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000939/0.2874, allocations: 442.4 kB / 333.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.2875, allocations: 3.656 kB / 333.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.2878, allocations: 26.28 kB / 333.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2879, allocations: 32.88 kB / 333.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2882, allocations: 72.12 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2884, allocations: 75.58 kB / 333.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2885, allocations: 23.05 kB / 333.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.2886, allocations: 35.7 kB / 333.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.2887, allocations: 37.52 kB / 333.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.2887, allocations: 3.75 kB / 333.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2888, allocations: 30.16 kB / 333.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.2889, allocations: 21.89 kB / 333.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.289, allocations: 42.23 kB / 333.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.2892, allocations: 101 kB / 333.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.602e-06/0.2892, allocations: 0 / 333.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.2892, allocations: 0 / 333.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2892, allocations: 1.625 kB / 333.6 MB, free: 5.168 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004918/0.2897, allocations: 458.9 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2898, allocations: 10.31 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.2898, allocations: 13.03 kB / 334.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.2901, allocations: 204 kB / 334.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2901, allocations: 11.11 kB / 334.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.2902, allocations: 8.625 kB / 334.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.2904, allocations: 74.58 kB / 334.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.972e-06/0.2904, allocations: 0 / 334.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2905, allocations: 1.156 kB / 334.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-06/0.2905, allocations: 1.125 kB / 334.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2906, allocations: 43.45 kB / 334.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.2912, allocations: 339.1 kB / 334.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.2915, allocations: 68.55 kB / 334.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2915, allocations: 1.625 kB / 334.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.2918, allocations: 74 kB / 334.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 4.208e-06/0.2918, allocations: 0 / 334.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.2922, allocations: 123.1 kB / 335 MB, free: 3.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2922, allocations: 53.77 kB / 335 MB, free: 3.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2924, allocations: 162.8 kB / 335.2 MB, free: 3.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2925, allocations: 27.2 kB / 335.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2925, allocations: 163.7 kB / 335.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2926, allocations: 26.25 kB / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-06/0.2926, allocations: 0 / 335.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.2927, allocations: 325.8 kB / 335.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2928, allocations: 29.17 kB / 335.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2929, allocations: 45.05 kB / 335.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.293, allocations: 68.62 kB / 335.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2931, allocations: 0 / 335.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003175/0.2934, allocations: 142.5 kB / 336 MB, free: 3.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.2934, allocations: 37.88 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-06/0.2935, allocations: 1.531 kB / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2935, allocations: 0 / 336 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2936, allocations: 20.61 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.549e-06/0.2936, allocations: 1.469 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.2937, allocations: 7.188 kB / 336.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.2937, allocations: 12.34 kB / 336.1 MB, free: 3.012 MB / 266.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 9.895e-05/0.2938, allocations: 122.5 kB / 336.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2939, allocations: 16.53 kB / 336.2 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.2939, allocations: 17.91 kB / 336.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-06/0.294, allocations: 1.344 kB / 336.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-06/0.294, allocations: 0 / 336.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-06/0.294, allocations: 2.25 kB / 336.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2942, allocations: 200.1 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-06/0.2942, allocations: 4.594 kB / 336.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2943, allocations: 19.88 kB / 336.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.315e-06/0.2943, allocations: 0 / 336.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2943, allocations: 2.141 kB / 336.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.641e-06/0.2944, allocations: 1.188 kB / 336.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-06/0.2944, allocations: 4.25 kB / 336.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.2947, allocations: 162.4 kB / 336.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.2948, allocations: 84.62 kB / 336.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.2948, allocations: 2.141 kB / 336.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.2949, allocations: 10.7 kB / 336.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.295, allocations: 5.406 kB / 336.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.295, allocations: 2.312 kB / 336.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.2951, allocations: 124.2 kB / 336.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.2952, allocations: 0 / 336.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.2955, allocations: 29.58 kB / 336.9 MB, free: 2.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009642/0.2965, allocations: 327.3 kB / 337.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.2968, allocations: 126.9 kB / 337.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.074e-06/0.2968, allocations: 0 / 337.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2969, allocations: 35.41 kB / 337.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2972, allocations: 27.8 kB / 337.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.2978, allocations: 274.7 kB / 337.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2979, allocations: 0.7102 MB / 338.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.298, allocations: 14.83 kB / 338.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.35e-06/0.298, allocations: 3.938 kB / 338.4 MB, free: 1.113 MB / 266.7 MB Notification: Performance of Templates: time 0.00434/0.3024, allocations: 1.855 MB / 340.2 MB, free: 344 kB / 266.7 MB