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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.045e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2738, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.3989, allocations: 81.61 MB / 439.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3991, allocations: 75.95 kB / 439.7 MB, free: 13.14 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.02111/0.4203, allocations: 5.066 MB / 444.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.4203, allocations: 0 / 444.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4203, allocations: 4 kB / 444.8 MB, free: 8.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006096/0.4209, allocations: 461.4 kB / 445.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.421, allocations: 8.031 kB / 445.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.4211, allocations: 7.906 kB / 445.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.4214, allocations: 200.7 kB / 445.5 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4214, allocations: 7.938 kB / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4215, allocations: 11.94 kB / 445.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.4216, allocations: 31.94 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4218, allocations: 83.38 kB / 445.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4218, allocations: 3.906 kB / 445.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4218, allocations: 0 / 445.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.06e-06/0.4219, allocations: 0 / 445.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.4223, allocations: 285.4 kB / 445.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.4226, allocations: 70.58 kB / 445.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.4227, allocations: 28.97 kB / 446 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.4227, allocations: 0 / 446 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4229, allocations: 76.19 kB / 446.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.411e-06/0.4229, allocations: 0 / 446.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006106/0.4235, allocations: 177.3 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4236, allocations: 81.11 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.4238, allocations: 148 kB / 446.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4238, allocations: 33.7 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.4239, allocations: 158.5 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.424, allocations: 23.7 kB / 446.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.424, allocations: 4 kB / 446.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4242, allocations: 314.8 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.4243, allocations: 39.86 kB / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4244, allocations: 62.5 kB / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4245, allocations: 40.02 kB / 447.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-06/0.4245, allocations: 0 / 447.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003287/0.4249, allocations: 137.5 kB / 447.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.4249, allocations: 29.7 kB / 447.3 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.231e-06/0.4249, allocations: 3.984 kB / 447.3 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.425, allocations: 4 kB / 447.3 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.4251, allocations: 16 kB / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.235e-06/0.4251, allocations: 0 / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.4252, allocations: 7.984 kB / 447.3 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.4253, allocations: 12.03 kB / 447.3 MB, free: 5.309 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 (12): * Single equations (assignments): 11 * 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.000109/0.4254, allocations: 108.9 kB / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.4254, allocations: 11.86 kB / 447.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.4258, allocations: 130.1 kB / 447.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.652e-06/0.4258, allocations: 4 kB / 447.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.083e-06/0.4258, allocations: 7.922 kB / 447.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.753e-06/0.4258, allocations: 192 / 447.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.4265, allocations: 403.8 kB / 448 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4265, allocations: 4 kB / 448 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.4266, allocations: 19.92 kB / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4266, allocations: 0 / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4266, allocations: 0 / 448 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.46e-06/0.4267, allocations: 4 kB / 448 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-06/0.4267, allocations: 0 / 448 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.427, allocations: 234 kB / 448.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4271, allocations: 93 kB / 448.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.4272, allocations: 4 kB / 448.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4273, allocations: 8 kB / 448.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4274, allocations: 7.984 kB / 448.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4274, allocations: 8 kB / 448.3 MB, free: 4.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.4275, allocations: 113.1 kB / 448.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4275, allocations: 7.875 kB / 448.5 MB, free: 4.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.428, allocations: 55.83 kB / 448.5 MB, free: 4.004 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 (11): * Single equations (assignments): 9 * 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.001499/0.4295, allocations: 459.4 kB / 449 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.4298, allocations: 155.3 kB / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4299, allocations: 0 / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.43, allocations: 44 kB / 449.2 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.4303, allocations: 20.55 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.4308, allocations: 172 kB / 449.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.4312, allocations: 0.7118 MB / 450.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.4313, allocations: 23.5 kB / 450.1 MB, free: 2.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4313, allocations: 0 / 450.1 MB, free: 2.438 MB / 378.7 MB Notification: Performance of Templates: time 0.005261/0.4365, allocations: 2.229 MB / 452.3 MB, free: 216 kB / 378.7 MB