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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004488, allocations: 16 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001906/0.2902, allocations: 1.296 MB / 332.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.291, allocations: 417.9 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.2911, allocations: 1.125 kB / 332.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.2914, allocations: 29.19 kB / 332.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2915, allocations: 27.09 kB / 333 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2918, allocations: 62.62 kB / 333 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.2919, allocations: 56.17 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.292, allocations: 6.781 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.2921, allocations: 24.55 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.2922, allocations: 28.62 kB / 333.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2922, allocations: 1.156 kB / 333.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.2923, allocations: 34.03 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.2924, allocations: 15.06 kB / 333.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.2924, allocations: 36.45 kB / 333.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2926, allocations: 79.05 kB / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.2926, allocations: 0 / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.2927, allocations: 1.531 kB / 333.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.529e-06/0.2927, 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.0004233/0.2931, allocations: 401.3 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2932, allocations: 12.47 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.2932, allocations: 12.03 kB / 333.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2934, allocations: 195.7 kB / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2934, allocations: 4 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.2935, allocations: 3.469 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2936, allocations: 48.09 kB / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2936, allocations: 3.938 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2936, allocations: 0 / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-06/0.2937, allocations: 1.531 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.2937, allocations: 9.234 kB / 334 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.2941, allocations: 286.5 kB / 334.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2943, allocations: 42.7 kB / 334.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2943, allocations: 1.5 kB / 334.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.2945, allocations: 56.23 kB / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.896e-06/0.2945, allocations: 0 / 334.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004257/0.295, allocations: 119.2 kB / 334.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.295, allocations: 53.28 kB / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2952, allocations: 174.9 kB / 334.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2952, allocations: 30.86 kB / 334.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.2953, allocations: 158.3 kB / 334.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.2953, allocations: 19.73 kB / 334.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.2953, allocations: 0 / 334.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2954, allocations: 318.1 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.2955, allocations: 15.92 kB / 335.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.2955, allocations: 20.5 kB / 335.2 MB, free: 3.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.048e-05/0.2956, allocations: 50.61 kB / 335.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-06/0.2956, allocations: 0 / 335.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000204/0.2958, allocations: 113.2 kB / 335.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.2959, allocations: 37.67 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-06/0.2959, allocations: 0 / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2959, allocations: 1.938 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.296, allocations: 8.812 kB / 335.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.396e-06/0.296, allocations: 0.6562 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.2961, allocations: 3.672 kB / 335.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.2961, allocations: 7.703 kB / 335.5 MB, free: 3.336 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 9.099e-05/0.2962, allocations: 140.2 kB / 335.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2963, allocations: 11.25 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.2963, allocations: 14.53 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-06/0.2963, allocations: 1.25 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.433e-06/0.2964, allocations: 0 / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-06/0.2964, allocations: 2 kB / 335.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2967, allocations: 336.2 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-06/0.2967, allocations: 0 / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.2968, allocations: 9.109 kB / 336 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-06/0.2968, allocations: 1.219 kB / 336 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2968, allocations: 5.797 kB / 336 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2968, allocations: 0.6094 kB / 336 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-06/0.2969, allocations: 1 kB / 336 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.297, allocations: 171.9 kB / 336.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.2971, allocations: 84.69 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2971, allocations: 2.234 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.2972, allocations: 6.844 kB / 336.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2973, allocations: 3.641 kB / 336.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2973, allocations: 6.203 kB / 336.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.2974, allocations: 135.3 kB / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2974, allocations: 0 / 336.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.2978, allocations: 28.47 kB / 336.4 MB, free: 2.492 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.0011/0.2989, allocations: 372.6 kB / 336.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.2991, allocations: 105.7 kB / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.834e-06/0.2991, allocations: 0 / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.2992, allocations: 20.94 kB / 336.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2995, allocations: 13.84 kB / 336.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.2999, allocations: 226.9 kB / 337.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.3001, allocations: 0.6996 MB / 337.8 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3001, allocations: 13.36 kB / 337.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of SimCode: time 1.305e-06/0.3001, allocations: 0 / 337.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of Templates: time 0.003994/0.3042, allocations: 1.663 MB / 339.5 MB, free: 0.7344 MB / 266.7 MB