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.Test28.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006025, allocations: 12 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.341, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5102, allocations: 82.11 MB / 451.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5105, allocations: 75.91 kB / 451.5 MB, free: 8.289 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.02084/0.5314, allocations: 4.493 MB / 456 MB, free: 3.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5314, allocations: 0 / 456 MB, free: 3.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.5315, allocations: 4 kB / 456 MB, free: 3.785 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006804/0.5321, allocations: 474.1 kB / 456.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5322, allocations: 15.97 kB / 456.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.5323, allocations: 42.55 kB / 456.6 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.5323, allocations: 7.906 kB / 456.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5327, allocations: 203.5 kB / 456.8 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5327, allocations: 4 kB / 456.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5328, allocations: 8 kB / 456.8 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.533, allocations: 53.67 kB / 456.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.533, allocations: 0 / 456.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.533, allocations: 3.953 kB / 456.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.533, allocations: 7.938 kB / 456.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5332, allocations: 27.92 kB / 456.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.5337, allocations: 308.9 kB / 457.2 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.534, allocations: 58.62 kB / 457.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.534, allocations: 0 / 457.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.5342, allocations: 84.11 kB / 457.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.5342, allocations: 0 / 457.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008204/0.5351, allocations: 185.1 kB / 457.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.5351, allocations: 55.41 kB / 457.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.5354, allocations: 161.3 kB / 457.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.5355, allocations: 29.7 kB / 457.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5356, allocations: 170.5 kB / 457.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.5356, allocations: 27.66 kB / 457.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5357, allocations: 0 / 457.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5358, allocations: 322.8 kB / 458.2 MB, free: 1.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.536, allocations: 31.98 kB / 458.3 MB, free: 1.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.5362, allocations: 57.69 kB / 458.3 MB, free: 1.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.5364, allocations: 69.7 kB / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5364, allocations: 0 / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005094/0.5369, allocations: 183.2 kB / 458.6 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.537, allocations: 37.7 kB / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.537, allocations: 0 / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.537, allocations: 0 / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.5372, allocations: 19.98 kB / 458.6 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5372, allocations: 3.938 kB / 458.6 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.5374, allocations: 4 kB / 458.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.5374, allocations: 4 kB / 458.6 MB, free: 0.9219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001799/0.5376, allocations: 133.9 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.5376, allocations: 15.77 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.5381, allocations: 118.3 kB / 458.9 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.5381, allocations: 4.375 kB / 458.9 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5382, allocations: 0 / 458.9 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5382, allocations: 7.969 kB / 458.9 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/0.5389, allocations: 415.3 kB / 459.3 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5389, allocations: 4.031 kB / 459.3 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.539, allocations: 16.17 kB / 459.3 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5391, allocations: 3.938 kB / 459.4 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5391, allocations: 3.938 kB / 459.4 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.5391, allocations: 4 kB / 459.4 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5391, allocations: 0 / 459.4 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.5395, allocations: 225.9 kB / 459.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5397, allocations: 104.9 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.5397, allocations: 0 / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5398, allocations: 4 kB / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.5399, allocations: 11.98 kB / 459.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5399, allocations: 7.938 kB / 459.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.5401, allocations: 135.2 kB / 459.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5401, allocations: 0 / 459.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.5406, allocations: 39.92 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001918/0.5425, allocations: 1.175 MB / 461.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.5429, allocations: 167.3 kB / 461.2 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.543, allocations: 4 kB / 461.2 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5431, allocations: 27.98 kB / 461.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5434, allocations: 27.56 kB / 461.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5445, allocations: 0.6656 MB / 461.9 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.5449, allocations: 0.716 MB / 462.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.545, allocations: 35.42 kB / 462.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.545, allocations: 0 / 462.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.585/3.131, allocations: 2.414 MB / 465.1 MB, free: 10.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat