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.Test32.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.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004411, allocations: 12 kB / 314.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002252/0.2828, allocations: 1.345 MB / 370.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2843, allocations: 0.7164 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.2844, allocations: 3.938 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.2847, allocations: 27.84 kB / 371.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2849, allocations: 31.95 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2851, allocations: 55.81 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.2852, allocations: 67.86 kB / 371.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.037e-05/0.2853, allocations: 4 kB / 371.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.2854, allocations: 43.83 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.2855, allocations: 35.84 kB / 371.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2856, allocations: 0 / 371.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.2857, allocations: 27.98 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.2857, allocations: 15.92 kB / 371.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.2858, allocations: 41.64 kB / 371.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.286, allocations: 83.81 kB / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.286, allocations: 0 / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.286, allocations: 0 / 371.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.716e-06/0.286, allocations: 3.938 kB / 371.7 MB, free: 8.172 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.000619/0.2867, allocations: 451 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2867, allocations: 8.031 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.2868, allocations: 23.8 kB / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.2871, allocations: 198.8 kB / 372.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2871, allocations: 4 kB / 372.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2871, allocations: 4 kB / 372.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.2873, allocations: 57.61 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.2874, allocations: 3.906 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2874, allocations: 3.938 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-06/0.2874, allocations: 7.953 kB / 372.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.2875, allocations: 19.98 kB / 372.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.288, allocations: 292.9 kB / 372.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2882, allocations: 62.61 kB / 372.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2883, allocations: 3.984 kB / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.2885, allocations: 79.34 kB / 372.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.98e-06/0.2885, allocations: 0 / 372.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007002/0.2892, allocations: 177.2 kB / 373.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.2893, allocations: 51.41 kB / 373.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.2896, allocations: 186 kB / 373.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2896, allocations: 33.7 kB / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2897, allocations: 154.6 kB / 373.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.2898, allocations: 27.7 kB / 373.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.2898, allocations: 8 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.29, allocations: 310.8 kB / 373.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2901, allocations: 31.98 kB / 373.8 MB, free: 5.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2902, allocations: 45.7 kB / 373.9 MB, free: 5.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2904, allocations: 65.62 kB / 374 MB, free: 5.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-06/0.2904, allocations: 4 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003583/0.2908, allocations: 155.3 kB / 374.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.2908, allocations: 37.66 kB / 374.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2909, allocations: 3.984 kB / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2909, allocations: 0 / 374.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.291, allocations: 19.94 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.011e-06/0.291, allocations: 4 kB / 374.2 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.2911, allocations: 4 kB / 374.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2912, allocations: 8.062 kB / 374.2 MB, free: 5.426 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.0001473/0.2913, allocations: 129.8 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.2913, allocations: 7.906 kB / 374.3 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.2914, allocations: 28.64 kB / 374.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-06/0.2914, allocations: 96 / 374.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.2915, allocations: 3.938 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-06/0.2915, allocations: 4.312 kB / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.2921, allocations: 399.2 kB / 374.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2922, allocations: 8.031 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.2922, allocations: 8 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-06/0.2922, allocations: 3.938 kB / 374.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2923, allocations: 4 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2923, allocations: 0 / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-06/0.2923, allocations: 0 / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.2926, allocations: 204.3 kB / 375 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.2927, allocations: 101 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2928, allocations: 4 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2929, allocations: 4 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.293, allocations: 3.984 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.293, allocations: 8 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.2932, allocations: 131.2 kB / 375.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.2932, allocations: 0 / 375.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.2935, allocations: 31.98 kB / 375.2 MB, free: 4.258 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.001535/0.2951, allocations: 451.6 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.2955, allocations: 147.4 kB / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2955, allocations: 3.938 kB / 375.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.2956, allocations: 28.17 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.296, allocations: 23.92 kB / 375.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.2966, allocations: 259.8 kB / 376.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.297, allocations: 0.7121 MB / 376.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.2971, allocations: 15.44 kB / 376.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of SimCode: time 1.92e-06/0.2971, allocations: 0 / 376.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of Templates: time 0.004678/0.3018, allocations: 1.873 MB / 378.7 MB, free: 0.7812 MB / 298.7 MB