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.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 234.9 MB / 250.5 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 27.92 kB / 314.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2864, allocations: 54.85 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002219/0.2886, allocations: 1.349 MB / 370.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2901, allocations: 0.7241 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.2902, allocations: 0 / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.2905, allocations: 75.75 kB / 371.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2907, allocations: 55.86 kB / 371.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.2909, allocations: 55.81 kB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2911, allocations: 79.89 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.2912, allocations: 11.98 kB / 371.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2913, allocations: 47.83 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2914, allocations: 47.83 kB / 371.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2915, allocations: 4 kB / 371.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.2916, allocations: 20 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.2916, allocations: 31.89 kB / 371.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.2917, allocations: 37.64 kB / 371.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.2919, allocations: 91.8 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.132e-06/0.2919, allocations: 0 / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.748e-06/0.2919, allocations: 0 / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.782e-06/0.2919, allocations: 4 kB / 371.8 MB, free: 10.12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006087/0.2926, allocations: 466.9 kB / 372.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2926, allocations: 8.031 kB / 372.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.2927, allocations: 11.81 kB / 372.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2929, allocations: 210.8 kB / 372.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.293, allocations: 4 kB / 372.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.293, allocations: 0 / 372.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.2932, allocations: 57.67 kB / 372.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.2932, allocations: 4 kB / 372.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2933, allocations: 3.938 kB / 372.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-06/0.2933, allocations: 3.953 kB / 372.6 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.2934, allocations: 19.98 kB / 372.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.2938, allocations: 300.9 kB / 372.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.2941, allocations: 58.67 kB / 372.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2941, allocations: 7.984 kB / 372.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.2943, allocations: 75.28 kB / 373 MB, free: 8.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.581e-06/0.2943, allocations: 0 / 373 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006576/0.295, allocations: 185 kB / 373.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2951, allocations: 59.34 kB / 373.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2954, allocations: 218.3 kB / 373.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2954, allocations: 29.7 kB / 373.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2955, allocations: 170.4 kB / 373.7 MB, free: 8.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2956, allocations: 27.64 kB / 373.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-06/0.2956, allocations: 0 / 373.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2958, allocations: 318.8 kB / 374 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.2959, allocations: 27.98 kB / 374 MB, free: 7.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.296, allocations: 41.7 kB / 374.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2962, allocations: 69.69 kB / 374.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-06/0.2962, allocations: 0 / 374.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003609/0.2966, allocations: 159.2 kB / 374.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.2966, allocations: 41.64 kB / 374.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.369e-06/0.2967, allocations: 4 kB / 374.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2967, allocations: 0 / 374.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2968, allocations: 12 kB / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.546e-06/0.2968, allocations: 0 / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.2969, allocations: 4 kB / 374.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2969, allocations: 16.02 kB / 374.4 MB, free: 7.305 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 (11): * Single equations (assignments): 10 * 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.0001745/0.2971, allocations: 131 kB / 374.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.2972, allocations: 11.89 kB / 374.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.2972, allocations: 21.36 kB / 374.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-06/0.2972, allocations: 0 / 374.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-06/0.2973, allocations: 0 / 374.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-06/0.2973, allocations: 3.938 kB / 374.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.2979, allocations: 411.2 kB / 374.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-06/0.2979, allocations: 0 / 374.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.298, allocations: 11.98 kB / 374.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.298, allocations: 0 / 374.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.298, allocations: 0 / 374.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-06/0.298, allocations: 4 kB / 374.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.603e-06/0.298, allocations: 384 / 375 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.2984, allocations: 212.4 kB / 375.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2985, allocations: 104.9 kB / 375.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2985, allocations: 0 / 375.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2987, allocations: 11.98 kB / 375.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2987, allocations: 4 kB / 375.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2987, allocations: 4 kB / 375.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.2989, allocations: 167.2 kB / 375.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.2989, allocations: 96 / 375.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.2993, allocations: 31.94 kB / 375.5 MB, free: 6.098 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 (8): * Single equations (assignments): 6 * 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.001505/0.3008, allocations: 446.6 kB / 375.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3012, allocations: 159.3 kB / 376.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.3012, allocations: 0 / 376.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3013, allocations: 31.92 kB / 376.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3016, allocations: 28.11 kB / 376.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.3023, allocations: 284.3 kB / 376.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3027, allocations: 0.72 MB / 377.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.3027, allocations: 15.44 kB / 377.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of SimCode: time 1.384e-06/0.3028, allocations: 0 / 377.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of Templates: time 0.004655/0.3074, allocations: 1.946 MB / 379.1 MB, free: 2.516 MB / 298.7 MB