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.Test9.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.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235.1 MB / 243 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.699e-05, allocations: 8 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4005, allocations: 81.34 MB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4008, allocations: 75.95 kB / 439.5 MB, free: 13.39 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.01896/0.4197, allocations: 4.529 MB / 444 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.143e-06/0.4198, allocations: 4 kB / 444 MB, free: 8.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4198, allocations: 4 kB / 444 MB, free: 8.852 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.0006108/0.4204, allocations: 465.4 kB / 444.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4205, allocations: 12.03 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.4205, allocations: 11.84 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4209, allocations: 207.6 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.421, allocations: 7.938 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.421, allocations: 4 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.786e-05/0.4211, allocations: 23.94 kB / 444.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4212, allocations: 53.67 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4213, allocations: 7.953 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4213, allocations: 0 / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-06/0.4213, allocations: 0 / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.4218, allocations: 297.3 kB / 445.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.4219, allocations: 58.62 kB / 445.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.422, allocations: 20.98 kB / 445.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.422, allocations: 0 / 445.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4222, allocations: 67.34 kB / 445.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.462e-06/0.4222, allocations: 0 / 445.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.4228, allocations: 153.2 kB / 445.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4228, allocations: 51.41 kB / 445.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.4231, allocations: 189.5 kB / 445.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4231, allocations: 29.7 kB / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4233, allocations: 166.5 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.4233, allocations: 23.7 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.4233, allocations: 4 kB / 445.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4235, allocations: 311.5 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.4236, allocations: 36 kB / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4237, allocations: 57.64 kB / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.4238, allocations: 31.98 kB / 446.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-06/0.4238, allocations: 0 / 446.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003154/0.4242, allocations: 129.6 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.4242, allocations: 37.69 kB / 446.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4243, allocations: 3.953 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4243, allocations: 0 / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4244, allocations: 23.92 kB / 446.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.03e-06/0.4244, allocations: 0 / 446.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.292e-05/0.4245, allocations: 8.031 kB / 446.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.4246, allocations: 4 kB / 446.4 MB, free: 6.176 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.0001143/0.4247, allocations: 116.9 kB / 446.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.4248, allocations: 15.81 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.4251, allocations: 115.5 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.74e-06/0.4251, allocations: 8.047 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-06/0.4251, allocations: 3.938 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-06/0.4251, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.4257, allocations: 383.9 kB / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-06/0.4258, allocations: 0 / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4258, allocations: 8 kB / 447.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.4259, allocations: 7.953 kB / 447.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4259, allocations: 0 / 447.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.977e-06/0.4259, allocations: 4.172 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-06/0.4259, allocations: 0 / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.4262, allocations: 225.9 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4263, allocations: 101 kB / 447.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.4264, allocations: 4 kB / 447.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4265, allocations: 0 / 447.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4266, allocations: 7.984 kB / 447.4 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4266, allocations: 8 kB / 447.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.4268, allocations: 147.2 kB / 447.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.97e-07/0.4268, allocations: 0 / 447.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.4273, allocations: 39.92 kB / 447.6 MB, free: 4.898 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.001267/0.4285, allocations: 374.2 kB / 448 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.4289, allocations: 159.4 kB / 448.1 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.916e-06/0.4289, allocations: 0 / 448.1 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.429, allocations: 27.94 kB / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.4293, allocations: 24.59 kB / 448.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.4299, allocations: 204.3 kB / 448.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4303, allocations: 0.7237 MB / 449.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.4304, allocations: 19.42 kB / 449.1 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.815e-06/0.4304, allocations: 0 / 449.1 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.004917/0.4353, allocations: 2 MB / 451.1 MB, free: 1.371 MB / 378.7 MB