Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.0006009, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3521, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4858, allocations: 75.73 MB / 407.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4861, allocations: 75.95 kB / 407.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.5089, allocations: 5.482 MB / 413.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.509, allocations: 4 kB / 413.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.509, allocations: 7.938 kB / 413.1 MB, free: 13.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001207/0.5102, allocations: 0.7461 MB / 413.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5103, allocations: 12.03 kB / 413.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.5104, allocations: 47.44 kB / 413.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5115, allocations: 467.1 kB / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5115, allocations: 0 / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.5115, allocations: 4 kB / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5117, allocations: 63.38 kB / 414.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5118, allocations: 4 kB / 414.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.5118, allocations: 0 / 414.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5118, allocations: 0 / 414.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.5119, allocations: 31.92 kB / 414.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.5125, allocations: 386.3 kB / 414.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.5127, allocations: 53.2 kB / 414.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5127, allocations: 3.938 kB / 414.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.513, allocations: 93.16 kB / 415 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.513, allocations: 0 / 415 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005531/0.5136, allocations: 149 kB / 415.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5136, allocations: 77.11 kB / 415.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.5159, allocations: 0.983 MB / 416.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.516, allocations: 29.64 kB / 416.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5163, allocations: 262.5 kB / 416.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.5163, allocations: 15.73 kB / 416.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.5164, allocations: 8 kB / 416.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5165, allocations: 318.7 kB / 416.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5166, allocations: 35.98 kB / 416.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.5168, allocations: 57.62 kB / 416.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.517, allocations: 99.38 kB / 417 MB, free: 8.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.517, allocations: 0 / 417 MB, free: 8.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004566/0.5175, allocations: 197.1 kB / 417.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.5176, allocations: 59.41 kB / 417.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5176, allocations: 0 / 417.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.5176, allocations: 11.92 kB / 417.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.5177, allocations: 8 kB / 417.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5178, allocations: 0 / 417.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.518, allocations: 11.91 kB / 417.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.518, allocations: 12 kB / 417.3 MB, free: 8.637 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003892/0.5184, allocations: 221.7 kB / 417.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5186, allocations: 51.44 kB / 417.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.519, allocations: 161.2 kB / 417.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5191, allocations: 0 / 417.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5191, allocations: 0 / 417.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5191, allocations: 7.984 kB / 417.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.5196, allocations: 365.8 kB / 418.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5196, allocations: 0 / 418.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.5197, allocations: 8 kB / 418.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5197, allocations: 3.938 kB / 418.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5197, allocations: 8 kB / 418.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.5198, allocations: 4 kB / 418.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5198, allocations: 0 / 418.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.5201, allocations: 173.3 kB / 418.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.5205, allocations: 180.5 kB / 418.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5206, allocations: 4 kB / 418.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5208, allocations: 11.98 kB / 418.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.5209, allocations: 8 kB / 418.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.5209, allocations: 8.109 kB / 418.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.5223, allocations: 0.7214 MB / 419.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5224, allocations: 3.938 kB / 419.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005922/0.523, allocations: 107.9 kB / 419.3 MB, free: 6.508 MB / 346.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * 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.001382/0.5244, allocations: 485.6 kB / 419.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.5248, allocations: 202.9 kB / 420 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5248, allocations: 0 / 420 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.5249, allocations: 31.92 kB / 420 MB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.5255, allocations: 50.23 kB / 420.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.5277, allocations: 0.9851 MB / 421.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.5283, allocations: 0.8429 MB / 421.9 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.5285, allocations: 39.38 kB / 421.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5285, allocations: 0 / 421.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of Templates: time 0.01449/0.543, allocations: 5.501 MB / 427.4 MB, free: 14.38 MB / 362.7 MB