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.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.nextTimeEvent|t_s.y.1.|d_t_s.y|t_min.nextTimeEvent|t_min.y.1.|d_t_min.y|t_h.nextTimeEvent|t_h.y.1.|d_t_h.y|t_d.nextTimeEvent|t_d.y.1.|d_t_d.y|t_ms.nextTimeEvent|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.272, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002978/0.2751, allocations: 1.865 MB / 371.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.2785, allocations: 1.65 MB / 372.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.2787, allocations: 7.938 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.2792, allocations: 251.3 kB / 373 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.2798, allocations: 203.6 kB / 373.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.2805, allocations: 251.2 kB / 373.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.2811, allocations: 375.2 kB / 373.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2813, allocations: 49.08 kB / 373.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.2816, allocations: 207.2 kB / 374 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.2819, allocations: 223.2 kB / 374.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.282, allocations: 12 kB / 374.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.2823, allocations: 107.9 kB / 374.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2825, allocations: 95.58 kB / 374.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2826, allocations: 93.45 kB / 374.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.2832, allocations: 383.9 kB / 374.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.857e-06/0.2833, allocations: 3.938 kB / 374.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.358e-06/0.2833, allocations: 0 / 374.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.538e-06/0.2833, allocations: 0 / 374.9 MB, free: 4.949 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001368/0.2847, allocations: 0.9909 MB / 375.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2847, allocations: 8.031 kB / 375.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2848, allocations: 47.44 kB / 376 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.2855, allocations: 375.1 kB / 376.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.2855, allocations: 12 kB / 376.4 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.2856, allocations: 23.98 kB / 376.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.2861, allocations: 209.8 kB / 376.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2862, allocations: 3.984 kB / 376.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.2862, allocations: 11.98 kB / 376.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2862, allocations: 3.953 kB / 376.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2866, allocations: 103.9 kB / 376.7 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2879, allocations: 0.8954 MB / 377.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.2888, allocations: 301.2 kB / 377.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.2888, allocations: 11.98 kB / 377.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.2894, allocations: 231.4 kB / 378.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.026e-06/0.2894, allocations: 0 / 378.1 MB, free: 1.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002818/0.2922, allocations: 0.9845 MB / 379.1 MB, free: 448 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2924, allocations: 162.2 kB / 379.3 MB, free: 248 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.2933, allocations: 0.5916 MB / 379.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.2933, allocations: 45.69 kB / 379.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.2936, allocations: 243.4 kB / 380.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2937, allocations: 118.4 kB / 380.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2938, allocations: 12 kB / 380.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.294, allocations: 338.8 kB / 380.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.2944, allocations: 153.1 kB / 380.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.295, allocations: 238.6 kB / 381 MB, free: 14.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.2956, allocations: 324.4 kB / 381.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2956, allocations: 0 / 381.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001464/0.2971, allocations: 0.6421 MB / 381.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.2972, allocations: 164.5 kB / 382.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2973, allocations: 8.156 kB / 382.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.2973, allocations: 7.984 kB / 382.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.2977, allocations: 79.91 kB / 382.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2977, allocations: 7.938 kB / 382.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.298, allocations: 27.98 kB / 382.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.2981, allocations: 31.98 kB / 382.3 MB, free: 13.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.0003425/0.2985, allocations: 212.2 kB / 382.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2986, allocations: 59.33 kB / 382.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.2988, allocations: 63.8 kB / 382.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.539e-06/0.2988, allocations: 4 kB / 382.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.308e-06/0.2988, allocations: 0 / 382.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2988, allocations: 7.984 kB / 382.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.3011, allocations: 1.265 MB / 383.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.993e-06/0.3012, allocations: 0 / 383.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.3014, allocations: 51.92 kB / 383.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.3014, allocations: 8.109 kB / 383.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.3014, allocations: 21.11 kB / 383.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.563e-06/0.3015, allocations: 4 kB / 384 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3015, allocations: 4 kB / 384 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3027, allocations: 0.809 MB / 384.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.303, allocations: 164.4 kB / 384.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.334e-05/0.3031, allocations: 19.95 kB / 384.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.3035, allocations: 23.98 kB / 385 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.3036, allocations: 35.89 kB / 385 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.3037, allocations: 27.98 kB / 385 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006118/0.3043, allocations: 418.8 kB / 385.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3044, allocations: 0 / 385.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009188/0.3053, allocations: 156 kB / 385.6 MB, free: 9.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.005108/0.3104, allocations: 1.421 MB / 387 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.3119, allocations: 0.7392 MB / 387.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.79e-06/0.3119, allocations: 7.938 kB / 387.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.3124, allocations: 147.8 kB / 387.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.3133, allocations: 98.55 kB / 388 MB, free: 7.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3152, allocations: 0.9836 MB / 389 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.3159, allocations: 0.8586 MB / 389.8 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.316, allocations: 47.42 kB / 389.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3161, allocations: 0 / 389.9 MB, free: 5.262 MB / 314.7 MB Notification: Performance of Templates: time 0.01465/0.3307, allocations: 7.571 MB / 397.5 MB, free: 13.68 MB / 330.7 MB