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.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3446, allocations: 54.87 MB / 369.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5103, allocations: 82.14 MB / 451.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.5107, allocations: 87.95 kB / 451.6 MB, free: 8.348 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.02547/0.5362, allocations: 4.755 MB / 456.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5362, allocations: 4 kB / 456.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5362, allocations: 0 / 456.4 MB, free: 3.578 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.0007013/0.5369, allocations: 490 kB / 456.8 MB, free: 3.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.537, allocations: 8.031 kB / 456.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.5371, allocations: 42.55 kB / 456.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.5371, allocations: 11.81 kB / 456.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.5375, allocations: 210.8 kB / 457.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.5376, allocations: 8 kB / 457.1 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.5376, allocations: 4 kB / 457.1 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.5378, allocations: 53.67 kB / 457.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5379, allocations: 0 / 457.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5379, allocations: 7.953 kB / 457.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5379, allocations: 3.938 kB / 457.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.538, allocations: 19.98 kB / 457.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.5386, allocations: 316.9 kB / 457.5 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.5389, allocations: 62.66 kB / 457.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5389, allocations: 3.938 kB / 457.6 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.5392, allocations: 76.09 kB / 457.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/0.5392, allocations: 3.938 kB / 457.7 MB, free: 2.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008262/0.54, allocations: 193.1 kB / 457.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.5401, allocations: 55.41 kB / 457.9 MB, free: 1.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.5404, allocations: 198.5 kB / 458.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5404, allocations: 29.7 kB / 458.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5406, allocations: 170.5 kB / 458.3 MB, free: 1.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5406, allocations: 19.73 kB / 458.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.5406, allocations: 8 kB / 458.3 MB, free: 1.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5408, allocations: 310.8 kB / 458.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5409, allocations: 47.97 kB / 458.7 MB, free: 1.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5411, allocations: 49.7 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.5413, allocations: 77.69 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5413, allocations: 0 / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004802/0.5418, allocations: 183.2 kB / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.5419, allocations: 33.7 kB / 459 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5419, allocations: 0 / 459 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5419, allocations: 8.031 kB / 459 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5421, allocations: 19.92 kB / 459 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5421, allocations: 0 / 459 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.5422, allocations: 4 kB / 459 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.5423, allocations: 12.38 kB / 459 MB, free: 0.6328 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.0001657/0.5424, allocations: 129.8 kB / 459.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.5425, allocations: 19.77 kB / 459.2 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.5429, allocations: 127 kB / 459.3 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5429, allocations: 4 kB / 459.3 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.543, allocations: 4 kB / 459.3 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.543, allocations: 3.984 kB / 459.3 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.5437, allocations: 419.3 kB / 459.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5438, allocations: 0 / 459.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.5439, allocations: 8 kB / 459.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.5439, allocations: 3.984 kB / 459.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5439, allocations: 12.03 kB / 459.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5439, allocations: 0 / 459.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.5439, allocations: 3.938 kB / 459.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.5443, allocations: 226 kB / 460 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5444, allocations: 97 kB / 460.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.5445, allocations: 11.98 kB / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5446, allocations: 7.938 kB / 460.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.5447, allocations: 4 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.5447, allocations: 7.984 kB / 460.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.545, allocations: 163.2 kB / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.545, allocations: 0 / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004266/0.5454, allocations: 47.92 kB / 460.3 MB, free: 15.24 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.001958/0.5474, allocations: 1.176 MB / 461.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.5479, allocations: 167.3 kB / 461.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5479, allocations: 64 / 461.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.548, allocations: 39.92 kB / 461.7 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.5484, allocations: 19.97 kB / 461.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.5497, allocations: 0.7102 MB / 462.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.5501, allocations: 0.7217 MB / 463.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5502, allocations: 43.36 kB / 463.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5502, allocations: 0 / 463.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.099, allocations: 2.612 MB / 465.8 MB, free: 9.707 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat