Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007346/0.0007351, allocations: 15.98 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4613, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.6067, allocations: 82.13 MB / 451.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.607, allocations: 79.97 kB / 452 MB, free: 8.414 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02243/0.6295, allocations: 5.031 MB / 457.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6295, allocations: 0 / 457.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.6295, allocations: 4 kB / 457.1 MB, free: 3.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000681/0.6302, allocations: 478.2 kB / 457.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6303, allocations: 12.03 kB / 457.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.6303, allocations: 11.89 kB / 457.5 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.6308, allocations: 218.8 kB / 457.8 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.6308, allocations: 4 kB / 457.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.6308, allocations: 4 kB / 457.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.6311, allocations: 73.61 kB / 457.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6311, allocations: 0 / 457.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.6312, allocations: 4 kB / 457.8 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6312, allocations: 4 kB / 457.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.6314, allocations: 51.95 kB / 457.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.632, allocations: 337.5 kB / 458.2 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.6324, allocations: 94.55 kB / 458.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6325, allocations: 8.062 kB / 458.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.6327, allocations: 87.36 kB / 458.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.6327, allocations: 0 / 458.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009949/0.6337, allocations: 253 kB / 458.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6338, allocations: 55.34 kB / 458.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.6341, allocations: 191.3 kB / 458.9 MB, free: 1.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.6341, allocations: 33.7 kB / 458.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.6342, allocations: 158.7 kB / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.6343, allocations: 47.56 kB / 459.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.6343, allocations: 0 / 459.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6344, allocations: 318.8 kB / 459.4 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.6346, allocations: 47.97 kB / 459.5 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.6348, allocations: 69.59 kB / 459.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.635, allocations: 85.69 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6351, allocations: 3.953 kB / 459.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005623/0.6356, allocations: 217 kB / 459.9 MB, free: 316 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.6357, allocations: 35.73 kB / 459.9 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6357, allocations: 0 / 459.9 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6357, allocations: 4 kB / 459.9 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.6359, allocations: 27.98 kB / 459.9 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.636, allocations: 0 / 459.9 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.6361, allocations: 4 kB / 459.9 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.6361, allocations: 8 kB / 459.9 MB, free: 232 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001605/0.6363, allocations: 137.8 kB / 460.1 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.6363, allocations: 15.77 kB / 460.1 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.6369, allocations: 167.1 kB / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6369, allocations: 0 / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6369, allocations: 0 / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6369, allocations: 0 / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.6378, allocations: 487.1 kB / 460.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6378, allocations: 0 / 460.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6379, allocations: 19.92 kB / 460.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6379, allocations: 4 kB / 460.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.638, allocations: 0 / 460.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.638, allocations: 4 kB / 460.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.638, allocations: 0 / 460.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.6385, allocations: 252.5 kB / 461 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.6386, allocations: 104.9 kB / 461.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.6386, allocations: 8 kB / 461.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6388, allocations: 0 / 461.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.6388, allocations: 19.97 kB / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.6389, allocations: 7.984 kB / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.6391, allocations: 132 kB / 461.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6391, allocations: 7.875 kB / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.6396, allocations: 55.92 kB / 461.3 MB, free: 14.71 MB / 394.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.00207/0.6417, allocations: 457.3 kB / 461.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008682/0.6426, allocations: 199.3 kB / 462 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6427, allocations: 0 / 462 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.643, allocations: 55.86 kB / 462 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.6437, allocations: 27.97 kB / 462.1 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.6447, allocations: 308.6 kB / 462.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.6453, allocations: 0.72 MB / 463.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.6455, allocations: 19.42 kB / 463.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/0.6455, allocations: 0 / 463.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of Templates: time 0.008145/0.6537, allocations: 2.174 MB / 465.3 MB, free: 10.78 MB / 394.7 MB