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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 19.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3515, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.5248, allocations: 82.19 MB / 451.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/0.5252, allocations: 79.89 kB / 451.6 MB, free: 8.23 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.02409/0.5493, allocations: 5.157 MB / 456.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5494, allocations: 0 / 456.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.5494, allocations: 11.94 kB / 456.8 MB, free: 3.051 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007742/0.5502, allocations: 0.4902 MB / 457.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5503, allocations: 8.031 kB / 457.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.5503, allocations: 34.56 kB / 457.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.5504, allocations: 15.81 kB / 457.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.5508, allocations: 230.8 kB / 457.6 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5509, allocations: 3.938 kB / 457.6 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.5509, allocations: 8 kB / 457.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.5512, allocations: 73.61 kB / 457.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5512, allocations: 0 / 457.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5512, allocations: 0 / 457.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5512, allocations: 0 / 457.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.5514, allocations: 39.97 kB / 457.7 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.5521, allocations: 361.3 kB / 458 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.5524, allocations: 78.69 kB / 458.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5524, allocations: 96 / 458.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.5527, allocations: 83.31 kB / 458.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.5527, allocations: 4 kB / 458.2 MB, free: 1.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009926/0.5537, allocations: 245.3 kB / 458.5 MB, free: 1.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5538, allocations: 55.41 kB / 458.5 MB, free: 1.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.5541, allocations: 225.4 kB / 458.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.5542, allocations: 29.7 kB / 458.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5543, allocations: 174.5 kB / 458.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.5544, allocations: 27.56 kB / 459 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.5544, allocations: 0 / 459 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5545, allocations: 326.8 kB / 459.3 MB, free: 356 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.5547, allocations: 51.88 kB / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.555, allocations: 69.69 kB / 459.4 MB, free: 228 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.5552, allocations: 85.64 kB / 459.5 MB, free: 136 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5552, allocations: 3.953 kB / 459.5 MB, free: 132 kB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000587/0.5558, allocations: 207.3 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/0.5559, allocations: 39.77 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5559, allocations: 240 / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5559, allocations: 3.984 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.5561, allocations: 27.92 kB / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5561, allocations: 3.984 kB / 459.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.5563, allocations: 8 kB / 459.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.5563, allocations: 11.98 kB / 459.8 MB, free: 15.82 MB / 394.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 (14): * Single equations (assignments): 13 * 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.0001789/0.5565, allocations: 133.8 kB / 459.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.5566, allocations: 19.77 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.5571, allocations: 174.9 kB / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5571, allocations: 4 kB / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5572, allocations: 0 / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5572, allocations: 0 / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.5581, allocations: 495.1 kB / 460.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5581, allocations: 4 kB / 460.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.5583, allocations: 20.03 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.5583, allocations: 4 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5583, allocations: 3.984 kB / 460.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.5583, allocations: 0 / 460.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5583, allocations: 4 kB / 460.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.5588, allocations: 266.4 kB / 460.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.559, allocations: 108.9 kB / 461 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.5591, allocations: 12 kB / 461 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.5592, allocations: 7.984 kB / 461 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.5593, allocations: 15.92 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5593, allocations: 4 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000272/0.5596, allocations: 176.4 kB / 461.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5596, allocations: 0 / 461.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.5601, allocations: 59.81 kB / 461.3 MB, free: 14.22 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 (13): * Single equations (assignments): 11 * 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.002071/0.5621, allocations: 1.203 MB / 462.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.5627, allocations: 215.2 kB / 462.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5628, allocations: 0 / 462.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.563, allocations: 47.92 kB / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.5633, allocations: 32.03 kB / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5647, allocations: 0.7674 MB / 463.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5651, allocations: 0.7277 MB / 464.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.5652, allocations: 47.41 kB / 464.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5653, allocations: 0 / 464.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.65/3.215, allocations: 3.001 MB / 467.3 MB, free: 8.117 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat