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.Test33.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.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004452, allocations: 16 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002378/0.2804, allocations: 1.345 MB / 370.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2819, allocations: 0.7163 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.282, allocations: 3.938 kB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.2823, allocations: 35.83 kB / 371.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.2825, allocations: 31.95 kB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2827, allocations: 47.83 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.2829, allocations: 71.84 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.283, allocations: 11.98 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.2831, allocations: 31.86 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.2832, allocations: 31.84 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2832, allocations: 0 / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.2833, allocations: 27.98 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.2834, allocations: 19.92 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.2834, allocations: 41.64 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2836, allocations: 91.8 kB / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2837, allocations: 0 / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.469e-06/0.2837, allocations: 0 / 371.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.291e-06/0.2837, allocations: 0 / 371.7 MB, free: 8.18 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.0006101/0.2843, allocations: 447 kB / 372.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2844, allocations: 12.03 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.2844, allocations: 11.81 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.2847, allocations: 194.8 kB / 372.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2847, allocations: 8 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2848, allocations: 7.938 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.285, allocations: 57.67 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.285, allocations: 7.844 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.285, allocations: 11.92 kB / 372.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-06/0.285, allocations: 3.953 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.2852, allocations: 19.98 kB / 372.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2856, allocations: 288.9 kB / 372.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.2859, allocations: 62.61 kB / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2859, allocations: 0 / 372.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2861, allocations: 75.34 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.2862, allocations: 0 / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007214/0.2869, allocations: 181.2 kB / 373.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.287, allocations: 51.41 kB / 373.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.2872, allocations: 190 kB / 373.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.2873, allocations: 29.7 kB / 373.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2874, allocations: 158.6 kB / 373.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.2874, allocations: 27.69 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.2875, allocations: 4 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2876, allocations: 314.8 kB / 373.8 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2878, allocations: 31.98 kB / 373.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2879, allocations: 45.7 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.288, allocations: 65.69 kB / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-06/0.2881, allocations: 0 / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003605/0.2884, allocations: 159.2 kB / 374.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.2885, allocations: 41.64 kB / 374.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.746e-06/0.2885, allocations: 0 / 374.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2885, allocations: 4.031 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2887, allocations: 19.94 kB / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2887, allocations: 0 / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.24e-05/0.2888, allocations: 7.984 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2888, allocations: 8 kB / 374.2 MB, free: 5.434 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.0001429/0.289, allocations: 125.3 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.289, allocations: 11.91 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.2891, allocations: 20.66 kB / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2891, allocations: 0 / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-06/0.2891, allocations: 4 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2891, allocations: 7.922 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.2898, allocations: 399.2 kB / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-06/0.2898, allocations: 0 / 374.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.2899, allocations: 8 kB / 374.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.895e-06/0.2899, allocations: 96 / 374.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2899, allocations: 8.312 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.234e-06/0.2899, allocations: 3.938 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.2899, allocations: 12.02 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.2903, allocations: 200.4 kB / 375 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.2904, allocations: 101 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.2904, allocations: 0 / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2905, allocations: 8 kB / 375.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.2906, allocations: 7.984 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2906, allocations: 4 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.2908, allocations: 135.2 kB / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-07/0.2908, allocations: 0 / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.2912, allocations: 31.98 kB / 375.2 MB, free: 4.266 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.001521/0.2927, allocations: 453 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.2931, allocations: 147.4 kB / 375.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.991e-06/0.2931, allocations: 0 / 375.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2932, allocations: 31.92 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.0002842/0.2935, allocations: 19.98 kB / 375.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.2941, allocations: 263.8 kB / 376.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2946, allocations: 0.7043 MB / 376.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.2946, allocations: 19.61 kB / 376.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of SimCode: time 1.427e-06/0.2946, allocations: 0 / 376.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of Templates: time 0.004584/0.2992, allocations: 1.877 MB / 378.7 MB, free: 0.7891 MB / 298.7 MB