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.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.68/2.68, allocations: 209.2 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005146, allocations: 12 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2799, allocations: 48.71 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001978/0.2819, allocations: 1.295 MB / 332.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.2828, allocations: 425.9 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.2828, allocations: 0 / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.2831, allocations: 24.83 kB / 332.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.2833, allocations: 38.89 kB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2835, allocations: 66.03 kB / 333 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2836, allocations: 55.55 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.2837, allocations: 4.844 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.397e-05/0.2838, allocations: 31.78 kB / 333.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.2839, allocations: 29.62 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2839, allocations: 1.594 kB / 333.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2841, allocations: 32.62 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.2841, allocations: 20.3 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2842, allocations: 42.7 kB / 333.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2844, allocations: 93.12 kB / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.443e-06/0.2844, allocations: 1.094 kB / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.685e-06/0.2844, allocations: 0 / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.252e-06/0.2844, allocations: 0 / 333.3 MB, free: 5.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004256/0.2848, allocations: 429 kB / 333.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2849, allocations: 10 kB / 333.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.2849, allocations: 12.84 kB / 333.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.2851, allocations: 206.6 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2852, allocations: 5.25 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2852, allocations: 2.562 kB / 334 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2853, allocations: 48.14 kB / 334 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2854, allocations: 3.938 kB / 334 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-06/0.2854, allocations: 1.125 kB / 334 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-06/0.2854, allocations: 0 / 334 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.2854, allocations: 14.56 kB / 334.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.2858, allocations: 302 kB / 334.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.286, allocations: 41.86 kB / 334.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.286, allocations: 2.172 kB / 334.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.2862, allocations: 54.94 kB / 334.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.296e-06/0.2862, allocations: 0 / 334.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.2866, allocations: 118.3 kB / 334.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2867, allocations: 52.2 kB / 334.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.2869, allocations: 248.3 kB / 334.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.287, allocations: 28.25 kB / 334.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.287, allocations: 169.5 kB / 335 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2871, allocations: 15.98 kB / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-06/0.2871, allocations: 1.25 kB / 335.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.2871, allocations: 321.6 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.2872, allocations: 19.27 kB / 335.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.2873, allocations: 20.19 kB / 335.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.2873, allocations: 49.66 kB / 335.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2874, allocations: 1.375 kB / 335.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001933/0.2876, allocations: 120.8 kB / 335.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.2876, allocations: 37.78 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.042e-06/0.2876, allocations: 0 / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2876, allocations: 2.25 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.2877, allocations: 8.547 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.073e-06/0.2877, allocations: 1.406 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.2878, allocations: 3.25 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2878, allocations: 3.062 kB / 335.6 MB, free: 3.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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.0001016/0.2879, allocations: 147.5 kB / 335.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.288, allocations: 14.44 kB / 335.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.2881, allocations: 17.25 kB / 335.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-06/0.2881, allocations: 1.953 kB / 335.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-06/0.2881, allocations: 0 / 335.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-06/0.2881, allocations: 0.6562 kB / 335.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.2885, allocations: 352.6 kB / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2885, allocations: 0 / 336.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.2885, allocations: 10.14 kB / 336.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-06/0.2885, allocations: 1.031 kB / 336.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2886, allocations: 1.844 kB / 336.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.324e-06/0.2886, allocations: 1.375 kB / 336.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-06/0.2886, allocations: 0.5625 kB / 336.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.2887, allocations: 173.4 kB / 336.3 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.2888, allocations: 88.72 kB / 336.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2888, allocations: 2.984 kB / 336.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.2889, allocations: 10.03 kB / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.289, allocations: 3.875 kB / 336.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.289, allocations: 3.188 kB / 336.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.2892, allocations: 189.2 kB / 336.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.2892, allocations: 0 / 336.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.2896, allocations: 24.27 kB / 336.7 MB, free: 2.406 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 4 * 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.001069/0.2907, allocations: 378 kB / 337 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.2909, allocations: 102.2 kB / 337.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.2909, allocations: 1.156 kB / 337.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.291, allocations: 19.62 kB / 337.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.2912, allocations: 23.36 kB / 337.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.2918, allocations: 288.9 kB / 337.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2919, allocations: 0.7135 MB / 338.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.292, allocations: 14.77 kB / 338.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of SimCode: time 1.517e-06/0.292, allocations: 0 / 338.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Templates: time 0.004113/0.2961, allocations: 1.808 MB / 340 MB, free: 0.4922 MB / 266.7 MB