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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002213/0.2812, allocations: 1.353 MB / 370.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2827, allocations: 0.7163 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.2828, allocations: 0 / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.283, allocations: 27.84 kB / 371.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.2832, allocations: 35.91 kB / 371.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.2834, allocations: 55.81 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2836, allocations: 67.86 kB / 371.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.2837, allocations: 7.984 kB / 371.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.2838, allocations: 39.84 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.2839, allocations: 31.84 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2839, allocations: 0 / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.284, allocations: 27.98 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.2841, allocations: 15.98 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.2842, allocations: 41.64 kB / 371.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.2843, allocations: 87.8 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.771e-06/0.2844, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2844, allocations: 0 / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.881e-06/0.2844, allocations: 3.938 kB / 371.7 MB, free: 8.184 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.0006057/0.285, allocations: 448.4 kB / 372.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2851, allocations: 11.97 kB / 372.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.2851, allocations: 19.81 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2854, allocations: 201.7 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.2854, allocations: 7.969 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.2855, allocations: 4 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2857, allocations: 57.67 kB / 372.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2857, allocations: 3.906 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2857, allocations: 3.938 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-06/0.2857, allocations: 3.953 kB / 372.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2858, allocations: 19.98 kB / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.2863, allocations: 300.8 kB / 372.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.2865, allocations: 54.69 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2866, allocations: 0 / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.2868, allocations: 79.28 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.441e-06/0.2868, allocations: 0 / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006626/0.2875, allocations: 177.2 kB / 373.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.2876, allocations: 59.34 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.2878, allocations: 186 kB / 373.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2879, allocations: 29.7 kB / 373.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.288, allocations: 162.6 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.288, allocations: 19.7 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.288, allocations: 4 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2882, allocations: 314.8 kB / 373.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2883, allocations: 35.98 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2885, allocations: 49.06 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2886, allocations: 61.7 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-06/0.2886, allocations: 0 / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003651/0.289, allocations: 159.2 kB / 374.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.2891, allocations: 41.64 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2891, allocations: 4 kB / 374.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2891, allocations: 4.031 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2892, allocations: 15.98 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.35e-06/0.2893, allocations: 4 kB / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.2893, allocations: 0 / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2894, allocations: 8 kB / 374.2 MB, free: 5.441 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.0001456/0.2895, allocations: 133.7 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2896, allocations: 7.906 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.2896, allocations: 16.67 kB / 374.3 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-06/0.2897, allocations: 8.094 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2897, allocations: 3.938 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2897, allocations: 4.312 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.2903, allocations: 399.2 kB / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.665e-06/0.2903, allocations: 4 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.2904, allocations: 8 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.638e-06/0.2904, allocations: 0 / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2904, allocations: 7.984 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.888e-06/0.2905, allocations: 4.188 kB / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-06/0.2905, allocations: 0 / 374.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.2908, allocations: 204.2 kB / 375 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2909, allocations: 96.95 kB / 375.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.291, allocations: 4 kB / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.2911, allocations: 0 / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.2911, allocations: 15.98 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2912, allocations: 4 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.2913, allocations: 135.2 kB / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.2913, allocations: 0 / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000364/0.2917, allocations: 28 kB / 375.2 MB, free: 4.273 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.001518/0.2932, allocations: 452.6 kB / 375.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.2936, allocations: 159.3 kB / 375.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.847e-06/0.2936, allocations: 0 / 375.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2938, allocations: 28.12 kB / 375.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2941, allocations: 23.92 kB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.2946, allocations: 263.8 kB / 376.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.2951, allocations: 0.7043 MB / 376.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.2951, allocations: 19.44 kB / 376.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.304e-06/0.2951, allocations: 0 / 376.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Templates: time 0.00452/0.2997, allocations: 1.865 MB / 378.7 MB, free: 0.7969 MB / 298.7 MB