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.Test25.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.784e-05, allocations: 8 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3965, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3967, allocations: 67.97 kB / 439.5 MB, free: 13.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01915/0.4159, allocations: 4.556 MB / 444.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4159, allocations: 0 / 444.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.416, allocations: 4 kB / 444.1 MB, free: 8.797 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.0006165/0.4166, allocations: 465.5 kB / 444.5 MB, free: 8.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4167, allocations: 15.97 kB / 444.5 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.4167, allocations: 7.906 kB / 444.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.4171, allocations: 206.8 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4171, allocations: 0 / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.4172, allocations: 11.92 kB / 444.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.106e-05/0.4173, allocations: 20 kB / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4174, allocations: 49.67 kB / 444.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4174, allocations: 3.953 kB / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4174, allocations: 0 / 444.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-06/0.4175, allocations: 7.984 kB / 444.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.4179, allocations: 297.3 kB / 445.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4181, allocations: 46.69 kB / 445.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.4182, allocations: 20.98 kB / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4182, allocations: 0 / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.4184, allocations: 75.34 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.974e-06/0.4184, allocations: 0 / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005464/0.4189, allocations: 161.1 kB / 445.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.419, allocations: 51.41 kB / 445.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.4192, allocations: 170.5 kB / 445.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4193, allocations: 25.7 kB / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4194, allocations: 170.5 kB / 445.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.4195, allocations: 23.66 kB / 445.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-06/0.4195, allocations: 0 / 445.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4196, allocations: 319.5 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.4197, allocations: 32 kB / 446.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.4199, allocations: 49.66 kB / 446.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.42, allocations: 39.97 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.42, allocations: 0 / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003235/0.4203, allocations: 121.6 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.4204, allocations: 42.8 kB / 446.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4204, allocations: 3.953 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.4205, allocations: 7.938 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4206, allocations: 15.98 kB / 446.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.793e-06/0.4206, allocations: 0 / 446.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.4207, allocations: 4 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.4207, allocations: 11.94 kB / 446.5 MB, free: 6.137 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.0001042/0.4209, allocations: 105 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.4209, allocations: 15.89 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.4212, allocations: 111.5 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.355e-06/0.4212, allocations: 8.141 kB / 446.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4213, allocations: 0 / 446.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-06/0.4213, allocations: 7.922 kB / 446.7 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.4219, allocations: 379.8 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.738e-06/0.4219, allocations: 4 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.422, allocations: 8 kB / 447.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-06/0.422, allocations: 7.984 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.422, allocations: 7.984 kB / 447.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.422, allocations: 0 / 447.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.363e-06/0.422, allocations: 0 / 447.1 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.4223, allocations: 206 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4225, allocations: 104.9 kB / 447.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4225, allocations: 12 kB / 447.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4226, allocations: 0 / 447.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4227, allocations: 11.92 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4227, allocations: 4 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4229, allocations: 140 kB / 447.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.066e-06/0.4229, allocations: 0 / 447.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.4233, allocations: 39.94 kB / 447.6 MB, free: 4.879 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.001269/0.4246, allocations: 380.7 kB / 448 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.4249, allocations: 159.3 kB / 448.2 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.425, allocations: 0 / 448.2 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.425, allocations: 31.92 kB / 448.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4254, allocations: 19.64 kB / 448.2 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.4259, allocations: 204.3 kB / 448.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4263, allocations: 0.7196 MB / 449.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.4264, allocations: 15.44 kB / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.557e-06/0.4264, allocations: 0 / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of Templates: time 0.004918/0.4313, allocations: 1.958 MB / 451.1 MB, free: 1.398 MB / 378.7 MB