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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.215/2.215, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.38e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3717, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.5436, allocations: 82.15 MB / 440.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.544, allocations: 71.97 kB / 440.3 MB, free: 12.52 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.01601/0.56, allocations: 3.576 MB / 443.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.529e-06/0.5601, allocations: 8 kB / 443.9 MB, free: 8.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.5601, allocations: 0 / 443.9 MB, free: 8.938 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.0007268/0.5608, allocations: 0.4953 MB / 444.4 MB, free: 8.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5609, allocations: 11.97 kB / 444.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.561, allocations: 19.77 kB / 444.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.5614, allocations: 219.5 kB / 444.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5614, allocations: 3.984 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.5615, allocations: 12 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.5616, allocations: 28 kB / 444.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.5618, allocations: 69.61 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5618, allocations: 0 / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.5618, allocations: 3.953 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5619, allocations: 0 / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.5626, allocations: 341.3 kB / 445.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.5629, allocations: 82.61 kB / 445.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.563, allocations: 28.86 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.563, allocations: 3.953 kB / 445.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.5632, allocations: 79.33 kB / 445.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.5632, allocations: 0 / 445.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003219/0.5636, allocations: 105.4 kB / 445.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5636, allocations: 51.41 kB / 445.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.5638, allocations: 162.4 kB / 445.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.5639, allocations: 25.7 kB / 445.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.564, allocations: 166.5 kB / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.564, allocations: 27.64 kB / 445.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.5641, allocations: 8 kB / 445.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5642, allocations: 314.8 kB / 446.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5643, allocations: 32 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.5645, allocations: 59.97 kB / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.5646, allocations: 43.92 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5646, allocations: 0 / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003578/0.565, allocations: 137.6 kB / 446.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.5651, allocations: 41.59 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5651, allocations: 0 / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5651, allocations: 0 / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.5653, allocations: 27.92 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5653, allocations: 0 / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5654, allocations: 15.89 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.5655, allocations: 12 kB / 446.5 MB, free: 6.113 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.0001078/0.5656, allocations: 116.3 kB / 446.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002428/0.5659, allocations: 101.5 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.5659, allocations: 15.77 kB / 446.7 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.5662, allocations: 119.6 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5662, allocations: 4 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5663, allocations: 4 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5663, allocations: 0 / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.5665, allocations: 182.3 kB / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5666, allocations: 0 / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5667, allocations: 23.92 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5667, allocations: 0 / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.5668, allocations: 7.938 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5668, allocations: 4 kB / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5668, allocations: 0 / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.5672, allocations: 160.9 kB / 447.2 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5673, allocations: 100.9 kB / 447.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.5674, allocations: 3.984 kB / 447.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5675, allocations: 12.02 kB / 447.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5676, allocations: 7.984 kB / 447.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5676, allocations: 4 kB / 447.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.5677, allocations: 120.9 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5677, allocations: 0 / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.5681, allocations: 44.05 kB / 447.5 MB, free: 5.012 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.001519/0.5696, allocations: 0.9192 MB / 448.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.57, allocations: 163.3 kB / 448.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.57, allocations: 3.938 kB / 448.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.5701, allocations: 35.94 kB / 448.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.5705, allocations: 24.75 kB / 448.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.5713, allocations: 262.6 kB / 448.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.5716, allocations: 0.7158 MB / 449.6 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5718, allocations: 39.42 kB / 449.7 MB, free: 2.801 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5718, allocations: 3.938 kB / 449.7 MB, free: 2.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/3.379, allocations: 2.62 MB / 452.3 MB, free: 180 kB / 378.7 MB