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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004385, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2746, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002234/0.2769, allocations: 1.345 MB / 370.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2784, allocations: 0.7163 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.2785, allocations: 0 / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.2787, allocations: 35.83 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.2789, allocations: 43.88 kB / 371.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.2791, allocations: 51.83 kB / 371.4 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.2793, allocations: 71.84 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.2794, allocations: 7.984 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.2795, allocations: 39.86 kB / 371.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.2796, allocations: 39.83 kB / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2797, allocations: 4 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.2798, allocations: 24 kB / 371.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.2798, allocations: 27.84 kB / 371.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.2799, allocations: 41.64 kB / 371.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2801, allocations: 99.84 kB / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2801, allocations: 4 kB / 371.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.87e-06/0.2801, allocations: 0 / 371.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.129e-06/0.2802, allocations: 0 / 371.7 MB, free: 8.137 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.000635/0.2808, allocations: 474.8 kB / 372.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2809, allocations: 8.031 kB / 372.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.2809, allocations: 15.81 kB / 372.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2812, allocations: 214.7 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2812, allocations: 4 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.2813, allocations: 4 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2815, allocations: 57.61 kB / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2815, allocations: 0 / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2815, allocations: 0 / 372.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2815, allocations: 3.953 kB / 372.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.589e-05/0.2816, allocations: 23.98 kB / 372.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.2821, allocations: 308.8 kB / 372.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.2824, allocations: 62.66 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2824, allocations: 4 kB / 372.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.2826, allocations: 79.28 kB / 373 MB, free: 6.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.462e-06/0.2826, allocations: 0 / 373 MB, free: 6.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006848/0.2833, allocations: 189.1 kB / 373.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2834, allocations: 55.34 kB / 373.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.2838, allocations: 267.7 kB / 373.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2838, allocations: 29.7 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2839, allocations: 174.4 kB / 373.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.284, allocations: 31.64 kB / 373.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-06/0.284, allocations: 3.938 kB / 373.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2842, allocations: 322.8 kB / 374 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2843, allocations: 27.98 kB / 374.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.2844, allocations: 42.41 kB / 374.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2846, allocations: 61.7 kB / 374.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2846, allocations: 0 / 374.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003505/0.285, allocations: 159.3 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.285, allocations: 41.64 kB / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.722e-06/0.2851, allocations: 4 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2851, allocations: 0 / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2852, allocations: 15.98 kB / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.817e-06/0.2852, allocations: 0 / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.2853, allocations: 4 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2853, allocations: 8 kB / 374.4 MB, free: 5.242 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.0001602/0.2855, allocations: 149.3 kB / 374.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.2856, allocations: 16.19 kB / 374.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.2856, allocations: 21.34 kB / 374.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-06/0.2857, allocations: 7.938 kB / 374.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.065e-06/0.2857, allocations: 0 / 374.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.2857, allocations: 4 kB / 374.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.2864, allocations: 415.2 kB / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.843e-06/0.2864, allocations: 4 kB / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.2864, allocations: 12.03 kB / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.313e-06/0.2865, allocations: 0 / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2865, allocations: 0 / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2865, allocations: 0 / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-06/0.2865, allocations: 4 kB / 375 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.2868, allocations: 204.1 kB / 375.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.287, allocations: 101 kB / 375.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.287, allocations: 7.984 kB / 375.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2871, allocations: 4 kB / 375.3 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.2872, allocations: 4 kB / 375.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.2872, allocations: 11.98 kB / 375.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.2875, allocations: 192.2 kB / 375.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.2875, allocations: 0 / 375.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.2878, allocations: 27.98 kB / 375.5 MB, free: 3.984 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.0015/0.2894, allocations: 446.9 kB / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.2897, allocations: 147.3 kB / 376.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.11e-06/0.2898, allocations: 0 / 376.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2899, allocations: 39.91 kB / 376.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2902, allocations: 19.77 kB / 376.2 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.2909, allocations: 352.5 kB / 376.5 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.2914, allocations: 0.7199 MB / 377.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.2914, allocations: 23.42 kB / 377.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.777e-06/0.2914, allocations: 0 / 377.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004916/0.2964, allocations: 2.048 MB / 379.3 MB, free: 228 kB / 298.7 MB