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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.191/2.191, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.227e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4025, allocations: 81.4 MB / 439.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4028, allocations: 71.97 kB / 439.5 MB, free: 13.37 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.02009/0.4229, allocations: 4.591 MB / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4229, allocations: 4 kB / 444.1 MB, free: 8.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.423, allocations: 0 / 444.1 MB, free: 8.77 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.0006167/0.4236, allocations: 453.5 kB / 444.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4237, allocations: 12.03 kB / 444.6 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.4237, allocations: 7.906 kB / 444.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.4241, allocations: 218.7 kB / 444.8 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4241, allocations: 3.938 kB / 444.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.4242, allocations: 4 kB / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/0.4243, allocations: 19.98 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.4245, allocations: 53.69 kB / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4245, allocations: 3.953 kB / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4245, allocations: 0 / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4245, allocations: 4 kB / 444.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.425, allocations: 289.3 kB / 445.2 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4252, allocations: 54.69 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.4253, allocations: 24.97 kB / 445.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4253, allocations: 0 / 445.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.4255, allocations: 71.34 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.56e-06/0.4255, allocations: 0 / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.4261, allocations: 153.2 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.4262, allocations: 55.41 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.4264, allocations: 178.5 kB / 445.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4265, allocations: 25.7 kB / 445.7 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4266, allocations: 162.6 kB / 445.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.4267, allocations: 27.64 kB / 445.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.4267, allocations: 0 / 445.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4268, allocations: 319.5 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.4269, allocations: 28 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.4271, allocations: 57.58 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.4272, allocations: 39.98 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4272, allocations: 0 / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003382/0.4276, allocations: 125.6 kB / 446.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.4276, allocations: 37.69 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4277, allocations: 7.953 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4277, allocations: 0 / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4278, allocations: 15.94 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.349e-06/0.4278, allocations: 0 / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.4279, allocations: 7.984 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.428, allocations: 15.97 kB / 446.5 MB, free: 6.109 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.000107/0.4281, allocations: 105 kB / 446.6 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.4281, allocations: 7.906 kB / 446.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.4285, allocations: 115.5 kB / 446.8 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-06/0.4285, allocations: 4.047 kB / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.447e-06/0.4285, allocations: 3.938 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.601e-06/0.4285, allocations: 0 / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.4292, allocations: 383.8 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.4292, allocations: 0 / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.4293, allocations: 15.98 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.009e-06/0.4293, allocations: 3.953 kB / 447.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4293, allocations: 4 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.089e-06/0.4293, allocations: 160 / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.077e-06/0.4294, allocations: 0 / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.4297, allocations: 218 kB / 447.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4298, allocations: 104.9 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4299, allocations: 0 / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.43, allocations: 7.984 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.43, allocations: 8 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4301, allocations: 0 / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4303, allocations: 143.9 kB / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4303, allocations: 0 / 447.6 MB, free: 4.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.4307, allocations: 47.92 kB / 447.7 MB, free: 4.852 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.001292/0.432, allocations: 380.9 kB / 448.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4324, allocations: 155.3 kB / 448.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.053e-06/0.4324, allocations: 8.062 kB / 448.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.4325, allocations: 24 kB / 448.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4328, allocations: 20.53 kB / 448.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.4334, allocations: 196.4 kB / 448.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4338, allocations: 0.7157 MB / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.4338, allocations: 19.5 kB / 449.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.545e-06/0.4339, allocations: 0 / 449.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of Templates: time 0.004961/0.4388, allocations: 1.957 MB / 451.1 MB, free: 1.379 MB / 378.7 MB