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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.087e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.3992, allocations: 81.39 MB / 439.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3995, allocations: 75.95 kB / 439.5 MB, free: 13.38 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.01946/0.4189, allocations: 4.72 MB / 444.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.519e-06/0.419, allocations: 0 / 444.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.419, allocations: 4 kB / 444.2 MB, free: 8.645 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.0006043/0.4196, allocations: 469.4 kB / 444.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4197, allocations: 8.031 kB / 444.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.4197, allocations: 11.91 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.4201, allocations: 222.7 kB / 444.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4202, allocations: 4 kB / 444.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4202, allocations: 4 kB / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.574e-05/0.4203, allocations: 16 kB / 445 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4204, allocations: 57.61 kB / 445 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4205, allocations: 3.953 kB / 445 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4205, allocations: 0 / 445 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4205, allocations: 4 kB / 445 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.421, allocations: 289.5 kB / 445.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4211, allocations: 54.69 kB / 445.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.4212, allocations: 20.98 kB / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4212, allocations: 0 / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.4214, allocations: 71.28 kB / 445.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.4214, allocations: 0 / 445.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.422, allocations: 157.1 kB / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.422, allocations: 59.34 kB / 445.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.4223, allocations: 190.6 kB / 445.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.4224, allocations: 25.7 kB / 445.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4225, allocations: 170.5 kB / 446 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4225, allocations: 23.66 kB / 446.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.4226, allocations: 4 kB / 446.1 MB, free: 6.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4227, allocations: 319.5 kB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.4228, allocations: 35.94 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4229, allocations: 45.72 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.4231, allocations: 39.97 kB / 446.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-06/0.4231, allocations: 0 / 446.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003284/0.4234, allocations: 129.5 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4235, allocations: 33.7 kB / 446.6 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.544e-06/0.4235, allocations: 3.953 kB / 446.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4235, allocations: 3.984 kB / 446.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4237, allocations: 20.02 kB / 446.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.936e-06/0.4237, allocations: 7.938 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.4238, allocations: 4 kB / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.4238, allocations: 8 kB / 446.7 MB, free: 5.953 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.0001059/0.424, allocations: 112.9 kB / 446.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.424, allocations: 11.91 kB / 446.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4243, allocations: 107.4 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4243, allocations: 7.953 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.694e-06/0.4244, allocations: 11.92 kB / 446.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-06/0.4244, allocations: 0 / 446.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.425, allocations: 379.9 kB / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-06/0.425, allocations: 4 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.4251, allocations: 11.94 kB / 447.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.18e-06/0.4251, allocations: 3.953 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4251, allocations: 4 kB / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-06/0.4251, allocations: 0 / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.841e-06/0.4251, allocations: 4.031 kB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.4254, allocations: 214 kB / 447.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4256, allocations: 104.9 kB / 447.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.4256, allocations: 3.984 kB / 447.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4258, allocations: 4.188 kB / 447.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.4258, allocations: 16.27 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4258, allocations: 4 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.426, allocations: 156.3 kB / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.4261, allocations: 3.938 kB / 447.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.4265, allocations: 39.94 kB / 447.9 MB, free: 4.668 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.001253/0.4278, allocations: 386.7 kB / 448.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.4281, allocations: 159.3 kB / 448.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4281, allocations: 0 / 448.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.4282, allocations: 31.94 kB / 448.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4285, allocations: 16.59 kB / 448.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.4291, allocations: 219.3 kB / 448.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4295, allocations: 0.7126 MB / 449.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.4296, allocations: 19.44 kB / 449.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.005e-06/0.4296, allocations: 0 / 449.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of Templates: time 0.005041/0.4347, allocations: 2.029 MB / 451.4 MB, free: 1.094 MB / 378.7 MB