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.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.701e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3497, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5023, allocations: 82.73 MB / 440.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5026, allocations: 67.95 kB / 440.9 MB, free: 11.94 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.01924/0.5219, allocations: 4.14 MB / 445.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5219, allocations: 0 / 445.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.522, allocations: 0 / 445.1 MB, free: 7.801 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001164/0.5231, allocations: 0.5943 MB / 445.7 MB, free: 7.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5232, allocations: 8.031 kB / 445.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.5233, allocations: 19.77 kB / 445.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.5238, allocations: 234.5 kB / 445.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5238, allocations: 4 kB / 445.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.5239, allocations: 4 kB / 445.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001992/0.5241, allocations: 44 kB / 446 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.5244, allocations: 86.91 kB / 446.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5244, allocations: 4 kB / 446.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.5244, allocations: 7.953 kB / 446.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5244, allocations: 3.984 kB / 446.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5255, allocations: 424.9 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.5259, allocations: 94.69 kB / 446.6 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.5261, allocations: 40.84 kB / 446.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.5261, allocations: 11.89 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.5264, allocations: 107.4 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.075e-06/0.5264, allocations: 0 / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004636/0.5269, allocations: 133.5 kB / 446.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.527, allocations: 51.41 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.5272, allocations: 181.9 kB / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.5273, allocations: 29.7 kB / 447.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5274, allocations: 178.5 kB / 447.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5275, allocations: 39.48 kB / 447.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.5275, allocations: 4 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5277, allocations: 318.8 kB / 447.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5279, allocations: 44.19 kB / 447.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.528, allocations: 74.88 kB / 447.8 MB, free: 4.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.5282, allocations: 50.03 kB / 447.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5282, allocations: 8 kB / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005095/0.5288, allocations: 177.5 kB / 448 MB, free: 4.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.5288, allocations: 59.41 kB / 448.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5289, allocations: 0 / 448.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.5289, allocations: 4 kB / 448.1 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.5293, allocations: 43.95 kB / 448.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5293, allocations: 3.953 kB / 448.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.5297, allocations: 43.88 kB / 448.2 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.5297, allocations: 4 kB / 448.2 MB, free: 4.461 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001541/0.5299, allocations: 116.9 kB / 448.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000344/0.5302, allocations: 125.4 kB / 448.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.5303, allocations: 19.8 kB / 448.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.5307, allocations: 151.5 kB / 448.6 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.5307, allocations: 7.953 kB / 448.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5307, allocations: 0 / 448.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5308, allocations: 0 / 448.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.531, allocations: 206 kB / 448.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.531, allocations: 4 kB / 448.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.5314, allocations: 27.97 kB / 448.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5314, allocations: 4 kB / 448.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5314, allocations: 7.984 kB / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5314, allocations: 0 / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5314, allocations: 3.984 kB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.532, allocations: 216.9 kB / 449 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.5321, allocations: 104.9 kB / 449.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.5322, allocations: 3.984 kB / 449.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.5325, allocations: 28.03 kB / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5326, allocations: 23.91 kB / 449.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.5327, allocations: 4 kB / 449.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.5329, allocations: 152.4 kB / 449.3 MB, free: 3.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5329, allocations: 4 kB / 449.3 MB, free: 3.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.5333, allocations: 43.94 kB / 449.4 MB, free: 3.137 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001723/0.535, allocations: 0.9796 MB / 450.4 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005896/0.5356, allocations: 246.8 kB / 450.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5357, allocations: 0 / 450.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.5358, allocations: 51.92 kB / 450.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.5363, allocations: 36.56 kB / 450.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5374, allocations: 315 kB / 451 MB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5378, allocations: 0.724 MB / 451.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.538, allocations: 51.42 kB / 451.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.538, allocations: 0 / 451.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/3.162, allocations: 3.375 MB / 455.1 MB, free: 13.31 MB / 394.7 MB