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.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.463e-05, allocations: 7.984 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 54.85 MB / 358 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.3936, allocations: 82.15 MB / 440.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3939, allocations: 71.95 kB / 440.3 MB, free: 12.52 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01517/0.4091, allocations: 3.564 MB / 443.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.999e-06/0.4091, allocations: 0 / 443.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4091, allocations: 4 kB / 443.8 MB, free: 8.945 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007003/0.4098, allocations: 0.4953 MB / 444.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4099, allocations: 8.031 kB / 444.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.41, allocations: 19.77 kB / 444.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4104, allocations: 219.4 kB / 444.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4104, allocations: 4 kB / 444.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.4105, allocations: 15.98 kB / 444.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000134/0.4106, allocations: 32 kB / 444.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4108, allocations: 69.66 kB / 444.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4108, allocations: 0 / 444.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4108, allocations: 3.953 kB / 444.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-06/0.4109, allocations: 0 / 444.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.4115, allocations: 345.2 kB / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.4118, allocations: 70.69 kB / 445.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.4119, allocations: 32.8 kB / 445.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.412, allocations: 7.938 kB / 445.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.4122, allocations: 83.33 kB / 445.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.881e-06/0.4122, allocations: 0 / 445.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003149/0.4125, allocations: 101.5 kB / 445.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4126, allocations: 55.34 kB / 445.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4128, allocations: 154.4 kB / 445.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4128, allocations: 25.8 kB / 445.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4129, allocations: 174.4 kB / 445.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.413, allocations: 27.8 kB / 445.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.413, allocations: 8 kB / 445.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4132, allocations: 310.8 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4133, allocations: 39.98 kB / 446.1 MB, free: 6.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4134, allocations: 50.58 kB / 446.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.4136, allocations: 39.97 kB / 446.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.4136, allocations: 0 / 446.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003719/0.414, allocations: 141.8 kB / 446.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.4141, allocations: 45.64 kB / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4141, allocations: 0 / 446.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4141, allocations: 4 kB / 446.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4143, allocations: 23.92 kB / 446.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.865e-06/0.4143, allocations: 0 / 446.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4144, allocations: 11.91 kB / 446.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.4144, allocations: 8 kB / 446.4 MB, free: 6.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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.0001135/0.4146, allocations: 114.7 kB / 446.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4146, allocations: 7.906 kB / 446.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.4149, allocations: 115.4 kB / 446.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.415, allocations: 7.984 kB / 446.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.415, allocations: 0 / 446.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-06/0.415, allocations: 0 / 446.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4152, allocations: 182.1 kB / 446.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-06/0.4152, allocations: 0 / 446.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4154, allocations: 15.98 kB / 446.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.626e-06/0.4154, allocations: 4 kB / 446.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4154, allocations: 8 kB / 446.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.081e-06/0.4154, allocations: 0 / 446.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.191e-06/0.4155, allocations: 11.83 kB / 446.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.4158, allocations: 161.1 kB / 447 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.416, allocations: 100.9 kB / 447.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.416, allocations: 3.938 kB / 447.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4161, allocations: 16.06 kB / 447.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4162, allocations: 3.984 kB / 447.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.4162, allocations: 7.953 kB / 447.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.4164, allocations: 124.9 kB / 447.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.4164, allocations: 4 kB / 447.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.4167, allocations: 31.94 kB / 447.3 MB, free: 5.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001141/0.4179, allocations: 340.2 kB / 447.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4183, allocations: 163.3 kB / 447.8 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4183, allocations: 4.125 kB / 447.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.216e-05/0.4184, allocations: 35.92 kB / 447.8 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4187, allocations: 22.48 kB / 447.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.4193, allocations: 197 kB / 448.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.4197, allocations: 0.7235 MB / 448.8 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.4198, allocations: 15.44 kB / 448.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.815e-06/0.4198, allocations: 0 / 448.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of Templates: time 0.005093/0.4249, allocations: 2.066 MB / 450.9 MB, free: 1.562 MB / 378.7 MB