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.Test57.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.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.325e-05, allocations: 7.938 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3469, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.48, allocations: 82.28 MB / 446.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4803, allocations: 71.97 kB / 446.9 MB, free: 14.12 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0205/0.5008, allocations: 4.962 MB / 451.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.5009, allocations: 0 / 451.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5009, allocations: 0 / 451.9 MB, free: 9.188 MB / 378.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.000571/0.5015, allocations: 459.5 kB / 452.3 MB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5015, allocations: 11.97 kB / 452.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.5016, allocations: 11.91 kB / 452.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5019, allocations: 196.8 kB / 452.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.502, allocations: 4.875 kB / 452.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.502, allocations: 7.906 kB / 452.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.5022, allocations: 75.33 kB / 452.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5022, allocations: 4 kB / 452.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.5023, allocations: 3.953 kB / 452.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-06/0.5023, allocations: 0 / 452.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.5024, allocations: 16 kB / 452.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.5028, allocations: 296.9 kB / 452.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.503, allocations: 66.77 kB / 453 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.5031, allocations: 20.98 kB / 453 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5031, allocations: 3.953 kB / 453 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5033, allocations: 63.39 kB / 453.1 MB, free: 7.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.779e-06/0.5033, allocations: 4 kB / 453.1 MB, free: 7.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.5038, allocations: 161.2 kB / 453.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.5039, allocations: 77.11 kB / 453.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.5041, allocations: 139.7 kB / 453.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.5042, allocations: 34.92 kB / 453.5 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.5043, allocations: 162.4 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.5043, allocations: 27.64 kB / 453.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.5043, allocations: 4 kB / 453.7 MB, free: 7.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5045, allocations: 314.8 kB / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.5046, allocations: 28 kB / 454 MB, free: 6.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5047, allocations: 60.39 kB / 454.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5049, allocations: 65.62 kB / 454.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-06/0.5049, allocations: 3.953 kB / 454.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003173/0.5052, allocations: 143.4 kB / 454.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.5053, allocations: 45.62 kB / 454.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5053, allocations: 0 / 454.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5053, allocations: 0.75 kB / 454.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5054, allocations: 12 kB / 454.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.35e-06/0.5055, allocations: 4 kB / 454.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.5056, allocations: 12.05 kB / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.5056, allocations: 4 kB / 454.3 MB, free: 6.438 MB / 378.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 () * 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.0001021/0.5057, allocations: 109 kB / 454.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.5058, allocations: 11.86 kB / 454.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.5061, allocations: 123.2 kB / 454.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-06/0.5061, allocations: 0 / 454.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5061, allocations: 0 / 454.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.745e-06/0.5061, allocations: 0 / 454.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.5067, allocations: 403.3 kB / 455 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-06/0.5067, allocations: 0 / 455 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.5068, allocations: 16.95 kB / 455 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.24e-06/0.5068, allocations: 4 kB / 455 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5069, allocations: 0 / 455 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-06/0.5069, allocations: 0 / 455 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5069, allocations: 4 kB / 455 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.5072, allocations: 226.2 kB / 455.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.5073, allocations: 93 kB / 455.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.5074, allocations: 4 kB / 455.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5075, allocations: 11.98 kB / 455.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.5075, allocations: 7.938 kB / 455.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.5076, allocations: 7.984 kB / 455.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.5077, allocations: 117.8 kB / 455.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.5077, allocations: 0 / 455.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.5081, allocations: 51.92 kB / 455.5 MB, free: 5.168 MB / 378.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001731/0.5099, allocations: 0.4991 MB / 456 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.5102, allocations: 143.4 kB / 456.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.665e-06/0.5102, allocations: 0 / 456.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.5103, allocations: 31.94 kB / 456.2 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.5107, allocations: 24.11 kB / 456.2 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.5111, allocations: 156.1 kB / 456.4 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.5115, allocations: 0.6965 MB / 457 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.5116, allocations: 23.36 kB / 457.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.454e-06/0.5116, allocations: 0 / 457.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Templates: time 0.004938/0.5165, allocations: 2.098 MB / 459.2 MB, free: 1.504 MB / 378.7 MB