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.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.47e-05, allocations: 4 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3801, allocations: 54.86 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5442, allocations: 82.16 MB / 440.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5446, allocations: 67.97 kB / 440.4 MB, free: 13.29 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.01584/0.5605, allocations: 3.549 MB / 443.9 MB, free: 9.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.5605, allocations: 4 kB / 443.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.5605, allocations: 0 / 443.9 MB, free: 9.734 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.0007798/0.5613, allocations: 0.5078 MB / 444.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.5614, allocations: 8.031 kB / 444.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.5615, allocations: 19.77 kB / 444.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5619, allocations: 211.5 kB / 444.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5619, allocations: 0 / 444.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.5619, allocations: 12 kB / 444.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.5621, allocations: 27.98 kB / 444.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.5623, allocations: 73.61 kB / 444.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5623, allocations: 0 / 444.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.5623, allocations: 3.953 kB / 444.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5624, allocations: 4 kB / 444.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.563, allocations: 341.2 kB / 445.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.5634, allocations: 82.56 kB / 445.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.5635, allocations: 36.84 kB / 445.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5635, allocations: 3.953 kB / 445.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.5637, allocations: 67.39 kB / 445.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.5637, allocations: 0 / 445.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003411/0.5641, allocations: 109.4 kB / 445.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5642, allocations: 51.41 kB / 445.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.5644, allocations: 154.5 kB / 445.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5644, allocations: 29.7 kB / 445.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.5645, allocations: 174.4 kB / 445.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.5646, allocations: 23.66 kB / 445.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.5646, allocations: 4 kB / 445.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5648, allocations: 318.8 kB / 446.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.5649, allocations: 32 kB / 446.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.565, allocations: 58.56 kB / 446.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.5652, allocations: 39.92 kB / 446.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5652, allocations: 0 / 446.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003737/0.5656, allocations: 137.6 kB / 446.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.5656, allocations: 49.58 kB / 446.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5657, allocations: 0 / 446.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5657, allocations: 0 / 446.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.5659, allocations: 28.05 kB / 446.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5659, allocations: 0 / 446.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.566, allocations: 11.91 kB / 446.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.5661, allocations: 8 kB / 446.5 MB, free: 6.91 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.0001166/0.5662, allocations: 118.2 kB / 446.6 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002429/0.5665, allocations: 97.77 kB / 446.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.5665, allocations: 15.86 kB / 446.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.5668, allocations: 119.4 kB / 446.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5669, allocations: 4 kB / 446.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5669, allocations: 4 kB / 446.8 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5669, allocations: 4 kB / 446.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.5671, allocations: 174.2 kB / 447 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5671, allocations: 0 / 447 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.5673, allocations: 19.92 kB / 447 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5673, allocations: 0 / 447 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.5673, allocations: 3.953 kB / 447 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5674, allocations: 4 kB / 447 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.5674, allocations: 0 / 447 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.5678, allocations: 172.8 kB / 447.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5679, allocations: 100.9 kB / 447.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.568, allocations: 4 kB / 447.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5681, allocations: 11.94 kB / 447.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.5682, allocations: 4 kB / 447.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.5682, allocations: 7.984 kB / 447.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5684, allocations: 125 kB / 447.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5684, allocations: 0 / 447.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.5688, allocations: 35.94 kB / 447.5 MB, free: 5.812 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.001615/0.5704, allocations: 0.9194 MB / 448.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.5709, allocations: 163.3 kB / 448.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5709, allocations: 4.125 kB / 448.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.571, allocations: 31.94 kB / 448.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.5715, allocations: 28.73 kB / 448.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.5723, allocations: 258.5 kB / 448.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.5727, allocations: 0.7197 MB / 449.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5729, allocations: 43.36 kB / 449.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5729, allocations: 0 / 449.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/3.249, allocations: 2.62 MB / 452.3 MB, free: 0.9805 MB / 378.7 MB