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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.000446, allocations: 16 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 54.86 MB / 369.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002519/0.279, allocations: 1.516 MB / 370.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2806, allocations: 0.7539 MB / 371.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.2807, allocations: 0 / 371.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.281, allocations: 27.84 kB / 371.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.2812, allocations: 39.81 kB / 371.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.2814, allocations: 55.89 kB / 371.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.2816, allocations: 95.81 kB / 371.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2818, allocations: 21.44 kB / 371.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2819, allocations: 47.78 kB / 371.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.282, allocations: 39.77 kB / 371.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.282, allocations: 4 kB / 371.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.2821, allocations: 24 kB / 371.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.2822, allocations: 19.91 kB / 371.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.2823, allocations: 45.64 kB / 371.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.2825, allocations: 104.5 kB / 372 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.678e-06/0.2825, allocations: 0 / 372 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2825, allocations: 0 / 372 MB, free: 7.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2825, allocations: 4 kB / 372 MB, free: 7.746 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007241/0.2833, allocations: 0.4959 MB / 372.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2833, allocations: 12.03 kB / 372.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.2834, allocations: 11.81 kB / 372.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.2837, allocations: 211.5 kB / 372.7 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2837, allocations: 4 kB / 372.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.2838, allocations: 12 kB / 372.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2841, allocations: 81.59 kB / 372.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.2841, allocations: 4 kB / 372.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.2841, allocations: 4 kB / 372.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.015e-06/0.2841, allocations: 3.953 kB / 372.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.2844, allocations: 47.95 kB / 372.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.285, allocations: 352.6 kB / 373.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.2854, allocations: 106.5 kB / 373.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2855, allocations: 4 kB / 373.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.2858, allocations: 87.31 kB / 373.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.639e-06/0.2858, allocations: 0 / 373.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005351/0.2863, allocations: 145.5 kB / 373.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.2864, allocations: 55.41 kB / 373.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.2866, allocations: 175.2 kB / 373.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.2867, allocations: 25.7 kB / 373.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2868, allocations: 174.5 kB / 374 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.2869, allocations: 31.55 kB / 374 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.2869, allocations: 4 kB / 374 MB, free: 5.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2871, allocations: 314.8 kB / 374.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2872, allocations: 39.97 kB / 374.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2874, allocations: 66.55 kB / 374.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.2876, allocations: 69.69 kB / 374.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-06/0.2876, allocations: 0 / 374.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004602/0.2881, allocations: 187.3 kB / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.2882, allocations: 37.7 kB / 374.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.165e-06/0.2882, allocations: 3.984 kB / 374.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2882, allocations: 0 / 374.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2884, allocations: 20 kB / 374.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.778e-06/0.2884, allocations: 0 / 374.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2885, allocations: 19.89 kB / 374.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.2885, allocations: 8 kB / 374.7 MB, free: 4.719 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001564/0.2887, allocations: 130.5 kB / 374.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.2888, allocations: 11.86 kB / 374.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.2888, allocations: 17.39 kB / 374.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-06/0.2888, allocations: 480 / 374.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2889, allocations: 0 / 374.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-06/0.2889, allocations: 0 / 374.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.2891, allocations: 209.5 kB / 375.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-06/0.2891, allocations: 0 / 375.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2893, allocations: 19.94 kB / 375.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-06/0.2893, allocations: 0 / 375.1 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2893, allocations: 3.953 kB / 375.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-06/0.2893, allocations: 3.984 kB / 375.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2893, allocations: 0 / 375.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.2899, allocations: 192.8 kB / 375.3 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.29, allocations: 92.94 kB / 375.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2901, allocations: 8 kB / 375.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.2902, allocations: 11.94 kB / 375.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.2902, allocations: 4 kB / 375.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.2903, allocations: 11.98 kB / 375.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.2904, allocations: 124.9 kB / 375.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.277e-06/0.2904, allocations: 0 / 375.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.2908, allocations: 32 kB / 375.6 MB, free: 3.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001352/0.2921, allocations: 407.1 kB / 376 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.2926, allocations: 171.3 kB / 376.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.459e-06/0.2926, allocations: 0 / 376.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2928, allocations: 40.11 kB / 376.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2931, allocations: 20.11 kB / 376.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/0.2938, allocations: 311.8 kB / 376.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.2942, allocations: 0.716 MB / 377.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.2943, allocations: 19.44 kB / 377.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2943, allocations: 0 / 377.3 MB, free: 2.117 MB / 298.7 MB Notification: Performance of Templates: time 0.004921/0.2993, allocations: 2.022 MB / 379.3 MB, free: 100 kB / 298.7 MB