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.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006107/0.0006107, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.341, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4926, allocations: 82 MB / 451.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.493, allocations: 79.91 kB / 451.4 MB, free: 8.41 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03276/0.5258, allocations: 6.004 MB / 457.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5258, allocations: 4 kB / 457.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.339e-05/0.5259, allocations: 11.94 kB / 457.5 MB, free: 2.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001787/0.5277, allocations: 0.8389 MB / 458.3 MB, free: 1.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.5277, allocations: 8.031 kB / 458.3 MB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.5278, allocations: 42.56 kB / 458.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.528, allocations: 47.44 kB / 458.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.5296, allocations: 467.2 kB / 458.9 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.5296, allocations: 11.98 kB / 458.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.5297, allocations: 8 kB / 458.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.5301, allocations: 95.97 kB / 459 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5301, allocations: 0 / 459 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5301, allocations: 7.938 kB / 459 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5302, allocations: 0 / 459 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.5304, allocations: 35.97 kB / 459 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.5312, allocations: 414.2 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.5318, allocations: 113.2 kB / 459.5 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5318, allocations: 3.984 kB / 459.5 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.5323, allocations: 113.1 kB / 459.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.5323, allocations: 0 / 459.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001067/0.5334, allocations: 220.9 kB / 459.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5335, allocations: 77.11 kB / 459.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.5364, allocations: 0.9316 MB / 460.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.5365, allocations: 37.64 kB / 460.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.5368, allocations: 258.8 kB / 461.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.5369, allocations: 23.7 kB / 461.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.5369, allocations: 8 kB / 461.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5371, allocations: 318.8 kB / 461.5 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.5375, allocations: 59.97 kB / 461.6 MB, free: 14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.5379, allocations: 98.78 kB / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.5383, allocations: 131.4 kB / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5384, allocations: 0 / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00107/0.5394, allocations: 284.8 kB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.5396, allocations: 67.39 kB / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5396, allocations: 4 kB / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.5396, allocations: 0 / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.5399, allocations: 32 kB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.5399, allocations: 3.938 kB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.5404, allocations: 23.78 kB / 462.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.5404, allocations: 12 kB / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0005407/0.541, allocations: 225.8 kB / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.5412, allocations: 55.34 kB / 462.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.5421, allocations: 198.2 kB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5422, allocations: 8 kB / 462.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.5422, allocations: 4.078 kB / 462.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5422, allocations: 7.984 kB / 462.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.543, allocations: 385.2 kB / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.543, allocations: 0 / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5431, allocations: 8 kB / 463.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.5431, allocations: 0 / 463.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.5432, allocations: 11.98 kB / 463.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5432, allocations: 3.938 kB / 463.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5432, allocations: 0 / 463.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.544, allocations: 235 kB / 463.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/0.5446, allocations: 200.3 kB / 463.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.5448, allocations: 8 kB / 463.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.545, allocations: 11.98 kB / 463.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.5451, allocations: 15.94 kB / 463.5 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5452, allocations: 8 kB / 463.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001995/0.5472, allocations: 0.737 MB / 464.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5472, allocations: 0 / 464.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008461/0.5481, allocations: 107.9 kB / 464.4 MB, free: 11 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.003613/0.5517, allocations: 1.329 MB / 465.7 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.5526, allocations: 306.6 kB / 466 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5527, allocations: 0 / 466 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.5529, allocations: 43.92 kB / 466.1 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.5537, allocations: 58.17 kB / 466.1 MB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.558, allocations: 1.991 MB / 468.1 MB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.5588, allocations: 0.8507 MB / 469 MB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.5593, allocations: 151.4 kB / 469.1 MB, free: 6.188 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5593, allocations: 4 kB / 469.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.925/3.484, allocations: 8.459 MB / 477.6 MB, free: 96.59 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat