Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.06e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 48.7 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3693, allocations: 75.86 MB / 395.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3696, allocations: 71.95 kB / 395.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.3822, allocations: 3.194 MB / 399.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.288e-06/0.3823, allocations: 0 / 399.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3823, allocations: 4 kB / 399.1 MB, free: 1.312 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005938/0.3829, allocations: 461.6 kB / 399.6 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.383, allocations: 8.031 kB / 399.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.383, allocations: 15.91 kB / 399.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3833, allocations: 208.2 kB / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-06/0.3834, allocations: 0 / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3834, allocations: 11.94 kB / 399.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.3835, allocations: 24 kB / 399.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3837, allocations: 65.61 kB / 399.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.964e-06/0.3837, allocations: 4 kB / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3837, allocations: 0 / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.3837, allocations: 0 / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3843, allocations: 329.1 kB / 400.2 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3846, allocations: 62.69 kB / 400.3 MB, free: 0 / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.3847, allocations: 33.02 kB / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3847, allocations: 0 / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3849, allocations: 75.31 kB / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.378e-06/0.3849, allocations: 0 / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002411/0.3852, allocations: 77.5 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3852, allocations: 55.41 kB / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3854, allocations: 145.3 kB / 400.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3854, allocations: 25.7 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.3856, allocations: 166.5 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.3856, allocations: 23.73 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-06/0.3856, allocations: 0 / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3858, allocations: 322.8 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.3859, allocations: 23.98 kB / 401.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.386, allocations: 41.72 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3861, allocations: 31.97 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-06/0.3861, allocations: 4.109 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002644/0.3864, allocations: 105.5 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3864, allocations: 34.48 kB / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.061e-06/0.3865, allocations: 0 / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3865, allocations: 0 / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3866, allocations: 19.92 kB / 401.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.554e-06/0.3866, allocations: 8.031 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.3867, allocations: 15.83 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3868, allocations: 4 kB / 401.5 MB, free: 14.73 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001004/0.3869, allocations: 112 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.3869, allocations: 7.906 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3872, allocations: 86.3 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-06/0.3872, allocations: 7.938 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-06/0.3872, allocations: 7.984 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3872, allocations: 0 / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3874, allocations: 182.1 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-06/0.3874, allocations: 192 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3876, allocations: 8 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-06/0.3876, allocations: 7.938 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3876, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.168e-06/0.3876, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-06/0.3876, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.3879, allocations: 150.5 kB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.388, allocations: 85.05 kB / 402.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3881, allocations: 3.938 kB / 402.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.3882, allocations: 11.92 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3882, allocations: 7.938 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3883, allocations: 4 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3884, allocations: 119.2 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.3884, allocations: 0 / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.3887, allocations: 36 kB / 402.3 MB, free: 13.84 MB / 346.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008724/0.3896, allocations: 272.3 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3899, allocations: 123.3 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.868e-06/0.3899, allocations: 0 / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.39, allocations: 24 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3903, allocations: 24.86 kB / 402.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.3908, allocations: 185.7 kB / 402.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3912, allocations: 0.7079 MB / 403.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.3912, allocations: 19.44 kB / 403.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.484e-06/0.3912, allocations: 0 / 403.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.004456/0.3957, allocations: 1.867 MB / 405.5 MB, free: 10.61 MB / 346.7 MB