Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.251/2.251, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.971e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3301, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4792, allocations: 82.15 MB / 440.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4796, allocations: 67.97 kB / 440.3 MB, free: 12.53 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.01614/0.4957, allocations: 3.584 MB / 443.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4958, allocations: 0 / 443.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4958, allocations: 4 kB / 443.9 MB, free: 8.941 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.0007667/0.4966, allocations: 0.4952 MB / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4966, allocations: 8.031 kB / 444.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.4967, allocations: 19.77 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.4971, allocations: 219.5 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.4972, allocations: 8 kB / 444.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.4972, allocations: 4 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001378/0.4974, allocations: 35.98 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4975, allocations: 65.61 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4976, allocations: 0 / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.4976, allocations: 3.953 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4976, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.4983, allocations: 337.3 kB / 445.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.4987, allocations: 86.59 kB / 445.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.4988, allocations: 28.86 kB / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4988, allocations: 3.953 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.499, allocations: 79.39 kB / 445.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.265e-06/0.4991, allocations: 0 / 445.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003464/0.4994, allocations: 105.4 kB / 445.4 MB, free: 7.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4995, allocations: 51.41 kB / 445.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4997, allocations: 158.4 kB / 445.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4997, allocations: 29.7 kB / 445.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.4998, allocations: 170.5 kB / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.4999, allocations: 27.66 kB / 445.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.4999, allocations: 0 / 445.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5, allocations: 322.8 kB / 446.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5002, allocations: 28 kB / 446.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.5004, allocations: 59.97 kB / 446.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.5006, allocations: 44.05 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5006, allocations: 4 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005102/0.5011, allocations: 141.5 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.5012, allocations: 37.59 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5012, allocations: 4 kB / 446.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5013, allocations: 0 / 446.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.5015, allocations: 19.98 kB / 446.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5015, allocations: 4 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.5017, allocations: 15.89 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.5018, allocations: 8 kB / 446.5 MB, free: 6.117 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.0001417/0.5019, allocations: 120.5 kB / 446.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003153/0.5023, allocations: 97.58 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.5023, allocations: 19.77 kB / 446.7 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.5027, allocations: 111.4 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5028, allocations: 0 / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5028, allocations: 0 / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5028, allocations: 0 / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.5031, allocations: 182.3 kB / 447 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5031, allocations: 4 kB / 447 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.5033, allocations: 24.31 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5033, allocations: 0 / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5034, allocations: 3.953 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5034, allocations: 0 / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.5034, allocations: 7.922 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.5039, allocations: 164.9 kB / 447.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5041, allocations: 96.94 kB / 447.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.5042, allocations: 8.062 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.5043, allocations: 11.94 kB / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.5044, allocations: 7.984 kB / 447.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.5044, allocations: 4 kB / 447.4 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.5046, allocations: 120.9 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5046, allocations: 0 / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.5052, allocations: 44.05 kB / 447.5 MB, free: 5.02 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.002017/0.5072, allocations: 0.9181 MB / 448.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.5078, allocations: 163.3 kB / 448.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5078, allocations: 0 / 448.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.5079, allocations: 39.92 kB / 448.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.5084, allocations: 24.75 kB / 448.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5095, allocations: 270.5 kB / 448.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5099, allocations: 0.7157 MB / 449.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5101, allocations: 39.42 kB / 449.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5101, allocations: 0 / 449.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.225, allocations: 2.618 MB / 452.3 MB, free: 184 kB / 378.7 MB