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.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.574e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3321, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4877, allocations: 82.14 MB / 440.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4881, allocations: 71.97 kB / 440.4 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.01635/0.5044, allocations: 3.576 MB / 443.9 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5045, allocations: 4 kB / 443.9 MB, free: 8.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.5045, allocations: 4 kB / 443.9 MB, free: 8.93 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.0007015/0.5052, allocations: 0.4952 MB / 444.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5053, allocations: 12.03 kB / 444.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.5053, allocations: 15.77 kB / 444.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.5058, allocations: 219.5 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5058, allocations: 8 kB / 444.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5059, allocations: 4 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.506, allocations: 35.98 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.5062, allocations: 73.61 kB / 444.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5062, allocations: 3.984 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.5063, allocations: 7.953 kB / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5063, allocations: 0 / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.5069, allocations: 337.3 kB / 445.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.5073, allocations: 78.61 kB / 445.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.5074, allocations: 32.86 kB / 445.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5074, allocations: 7.953 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.5076, allocations: 71.39 kB / 445.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.015e-06/0.5076, allocations: 0 / 445.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003448/0.508, allocations: 109.4 kB / 445.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.508, allocations: 55.41 kB / 445.5 MB, free: 7.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.5083, allocations: 158.4 kB / 445.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.5083, allocations: 25.7 kB / 445.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.5084, allocations: 170.5 kB / 445.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.5084, allocations: 23.81 kB / 445.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5085, allocations: 4 kB / 445.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5086, allocations: 322.8 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.5087, allocations: 28 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5088, allocations: 59.97 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.509, allocations: 43.92 kB / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.509, allocations: 0 / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003772/0.5094, allocations: 137.5 kB / 446.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.5095, allocations: 45.59 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5095, allocations: 0 / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5095, allocations: 0 / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.5097, allocations: 23.98 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5098, allocations: 0 / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.5099, allocations: 15.89 kB / 446.5 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.5099, allocations: 4 kB / 446.5 MB, free: 6.105 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.000112/0.5101, allocations: 120.5 kB / 446.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002432/0.5103, allocations: 97.58 kB / 446.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.5104, allocations: 19.77 kB / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.5107, allocations: 111.4 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5107, allocations: 0 / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5107, allocations: 0 / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5107, allocations: 0 / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.5109, allocations: 186.5 kB / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.511, allocations: 0 / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5111, allocations: 19.94 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5112, allocations: 0 / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5112, allocations: 7.891 kB / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5112, allocations: 0 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5112, allocations: 3.984 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.5116, allocations: 168.9 kB / 447.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5117, allocations: 92.94 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.5118, allocations: 8 kB / 447.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5119, allocations: 20 kB / 447.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5119, allocations: 7.984 kB / 447.4 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.512, allocations: 4 kB / 447.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.5121, allocations: 120.9 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5121, allocations: 0 / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.5125, allocations: 44.05 kB / 447.5 MB, free: 5.004 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.001513/0.514, allocations: 0.9138 MB / 448.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.5144, allocations: 163.3 kB / 448.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5144, allocations: 0 / 448.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.5145, allocations: 39.92 kB / 448.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.5149, allocations: 28.73 kB / 448.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.5157, allocations: 270.5 kB / 448.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5161, allocations: 0.7158 MB / 449.6 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5162, allocations: 35.36 kB / 449.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5162, allocations: 4 kB / 449.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.662/3.179, allocations: 2.616 MB / 452.3 MB, free: 172 kB / 378.7 MB