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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.162/2.162, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 12 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002275/0.2816, allocations: 1.349 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2832, allocations: 0.7125 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.2832, allocations: 0 / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.2835, allocations: 27.84 kB / 371.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.2837, allocations: 35.89 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2839, allocations: 59.81 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2841, allocations: 63.86 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.2842, allocations: 15.97 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.2843, allocations: 35.86 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.2844, allocations: 35.83 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2844, allocations: 4 kB / 371.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.2845, allocations: 27.94 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.2845, allocations: 15.92 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.2846, allocations: 33.7 kB / 371.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2848, allocations: 91.8 kB / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2848, allocations: 0 / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.929e-06/0.2848, allocations: 0 / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.526e-06/0.2848, allocations: 0 / 371.7 MB, free: 8.176 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.000626/0.2855, allocations: 462.9 kB / 372.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2855, allocations: 8.031 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.2856, allocations: 19.84 kB / 372.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.2859, allocations: 202.8 kB / 372.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2859, allocations: 4 kB / 372.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2859, allocations: 4 kB / 372.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.2861, allocations: 53.67 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2862, allocations: 0 / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2862, allocations: 4 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.459e-06/0.2862, allocations: 7.891 kB / 372.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.2863, allocations: 19.98 kB / 372.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.2868, allocations: 296.9 kB / 372.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.287, allocations: 62.61 kB / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.287, allocations: 0 / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.2873, allocations: 87.19 kB / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.382e-06/0.2873, allocations: 0 / 372.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006731/0.288, allocations: 177.2 kB / 373.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.288, allocations: 51.41 kB / 373.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.2883, allocations: 195.2 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2883, allocations: 29.7 kB / 373.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2885, allocations: 162.4 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.2885, allocations: 27.64 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.2885, allocations: 4 kB / 373.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2887, allocations: 318.8 kB / 373.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2888, allocations: 31.98 kB / 373.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.289, allocations: 41.7 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2891, allocations: 65.69 kB / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-06/0.2891, allocations: 0 / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003552/0.2895, allocations: 155.2 kB / 374.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.2896, allocations: 49.67 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.336e-06/0.2896, allocations: 0 / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2896, allocations: 0 / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2897, allocations: 15.94 kB / 374.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2897, allocations: 7.938 kB / 374.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.2898, allocations: 7.984 kB / 374.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.2899, allocations: 4 kB / 374.2 MB, free: 5.402 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.0001458/0.29, allocations: 133.3 kB / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.29, allocations: 7.906 kB / 374.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2901, allocations: 25.34 kB / 374.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-06/0.2901, allocations: 0 / 374.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-06/0.2901, allocations: 0 / 374.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-06/0.2902, allocations: 0 / 374.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.2908, allocations: 403.7 kB / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-06/0.2908, allocations: 0 / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.2909, allocations: 12 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.464e-06/0.2909, allocations: 0 / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2909, allocations: 8.016 kB / 374.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.133e-06/0.2909, allocations: 4 kB / 374.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.104e-06/0.2909, allocations: 3.938 kB / 374.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.2913, allocations: 204.2 kB / 375 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.2914, allocations: 96.95 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2914, allocations: 4 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2915, allocations: 8.094 kB / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2916, allocations: 11.92 kB / 375.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2916, allocations: 4 kB / 375.1 MB, free: 4.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.2918, allocations: 143.9 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.2918, allocations: 0 / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.2922, allocations: 28 kB / 375.3 MB, free: 4.23 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.001523/0.2937, allocations: 456.8 kB / 375.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2941, allocations: 147.4 kB / 375.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2941, allocations: 0 / 375.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2942, allocations: 31.92 kB / 375.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2945, allocations: 19.98 kB / 375.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.2951, allocations: 272 kB / 376.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2955, allocations: 0.7043 MB / 376.9 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.2956, allocations: 23.42 kB / 376.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.46e-06/0.2956, allocations: 4 kB / 376.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of Templates: time 0.004611/0.3002, allocations: 1.894 MB / 378.8 MB, free: 0.7148 MB / 298.7 MB