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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.599e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2746, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.399, allocations: 81.39 MB / 439.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3993, allocations: 67.95 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.01969/0.419, allocations: 4.635 MB / 444.1 MB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.317e-06/0.419, allocations: 0 / 444.1 MB, free: 8.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.4191, allocations: 8 kB / 444.1 MB, free: 8.723 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.0006125/0.4197, allocations: 461.4 kB / 444.6 MB, free: 8.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4198, allocations: 12.03 kB / 444.6 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.4198, allocations: 7.906 kB / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.4202, allocations: 215.5 kB / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4202, allocations: 0 / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4203, allocations: 8 kB / 444.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.738e-05/0.4204, allocations: 15.98 kB / 444.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4205, allocations: 57.67 kB / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4205, allocations: 3.953 kB / 444.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4206, allocations: 4 kB / 444.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-06/0.4206, allocations: 4 kB / 444.9 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.4211, allocations: 293.3 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.4212, allocations: 54.62 kB / 445.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.4213, allocations: 20.98 kB / 445.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4213, allocations: 4 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.4215, allocations: 67.34 kB / 445.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.799e-06/0.4215, allocations: 0 / 445.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.4221, allocations: 149.2 kB / 445.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4221, allocations: 51.41 kB / 445.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.4224, allocations: 189.5 kB / 445.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4224, allocations: 33.7 kB / 445.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4226, allocations: 166.5 kB / 445.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.4226, allocations: 19.72 kB / 445.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.4226, allocations: 4 kB / 445.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4228, allocations: 319.5 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.4229, allocations: 28 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.423, allocations: 53.64 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4231, allocations: 43.92 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-06/0.4232, allocations: 0 / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003177/0.4235, allocations: 125.7 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.4235, allocations: 33.7 kB / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.555e-06/0.4236, allocations: 3.953 kB / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4236, allocations: 0 / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4237, allocations: 27.92 kB / 446.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.152e-06/0.4237, allocations: 3.938 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.4238, allocations: 4 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.4239, allocations: 8.031 kB / 446.6 MB, free: 6.051 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.0001102/0.424, allocations: 118.6 kB / 446.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.424, allocations: 11.81 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4243, allocations: 115.5 kB / 446.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.974e-06/0.4244, allocations: 7.938 kB / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.844e-06/0.4244, allocations: 4 kB / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.495e-06/0.4244, allocations: 0 / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.425, allocations: 383.9 kB / 447.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-06/0.425, allocations: 0 / 447.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.4251, allocations: 11.98 kB / 447.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-06/0.4251, allocations: 3.953 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4251, allocations: 4 kB / 447.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.678e-06/0.4251, allocations: 0 / 447.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.023e-06/0.4252, allocations: 0 / 447.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.4256, allocations: 218 kB / 447.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4257, allocations: 101 kB / 447.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.4258, allocations: 4.188 kB / 447.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4259, allocations: 11.98 kB / 447.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.426, allocations: 4 kB / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.426, allocations: 4 kB / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.4262, allocations: 147.2 kB / 447.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.4262, allocations: 0 / 447.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.4266, allocations: 43.94 kB / 447.8 MB, free: 4.777 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.00125/0.4279, allocations: 370.2 kB / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.4282, allocations: 159.3 kB / 448.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4282, allocations: 4.062 kB / 448.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.4283, allocations: 24 kB / 448.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4287, allocations: 24.59 kB / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.4292, allocations: 216.2 kB / 448.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4296, allocations: 0.7196 MB / 449.2 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.4297, allocations: 23.5 kB / 449.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.584e-06/0.4297, allocations: 0 / 449.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of Templates: time 0.004856/0.4345, allocations: 1.991 MB / 451.3 MB, free: 1.25 MB / 378.7 MB