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.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004348, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3319, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5004, allocations: 82.01 MB / 451.4 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5007, allocations: 67.97 kB / 451.4 MB, free: 8.418 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.02407/0.5248, allocations: 5.972 MB / 457.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5248, allocations: 0 / 457.4 MB, free: 2.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.5249, allocations: 8 kB / 457.4 MB, free: 2.422 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.001267/0.5262, allocations: 0.8235 MB / 458.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5262, allocations: 8.031 kB / 458.3 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.5263, allocations: 38.55 kB / 458.3 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.5264, allocations: 55.28 kB / 458.3 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5275, allocations: 463.2 kB / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5275, allocations: 4 kB / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5276, allocations: 12 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.5279, allocations: 92.03 kB / 458.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5279, allocations: 0 / 458.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5279, allocations: 7.938 kB / 458.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5279, allocations: 0 / 458.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.5281, allocations: 43.89 kB / 459 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.5287, allocations: 402.3 kB / 459.3 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.5292, allocations: 113.3 kB / 459.5 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.5292, allocations: 4.078 kB / 459.5 MB, free: 180 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.5295, allocations: 113 kB / 459.6 MB, free: 48 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.5295, allocations: 4 kB / 459.6 MB, free: 44 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007757/0.5303, allocations: 216.9 kB / 459.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.5304, allocations: 81.11 kB / 459.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.5323, allocations: 0.9042 MB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.5324, allocations: 33.7 kB / 460.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.5326, allocations: 250.8 kB / 461 MB, free: 14.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.5327, allocations: 31.69 kB / 461.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5327, allocations: 4 kB / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5328, allocations: 318.8 kB / 461.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.5331, allocations: 67.95 kB / 461.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.5333, allocations: 92 kB / 461.5 MB, free: 14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.5337, allocations: 131.3 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5337, allocations: 4 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007277/0.5344, allocations: 284.8 kB / 462 MB, free: 13.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.5345, allocations: 63.39 kB / 462 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5345, allocations: 0 / 462 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5346, allocations: 4 kB / 462 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5348, allocations: 27.94 kB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5348, allocations: 4 kB / 462.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.535, allocations: 23.78 kB / 462.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.5351, allocations: 12.06 kB / 462.1 MB, free: 13.42 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.0003312/0.5354, allocations: 226.3 kB / 462.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5356, allocations: 51.34 kB / 462.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.5362, allocations: 205.4 kB / 462.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5362, allocations: 0 / 462.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5362, allocations: 7.953 kB / 462.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5362, allocations: 0 / 462.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.5367, allocations: 373.3 kB / 462.9 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5368, allocations: 4 kB / 462.9 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.5368, allocations: 8 kB / 462.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5369, allocations: 4 kB / 463 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.5369, allocations: 7.984 kB / 463 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5369, allocations: 0 / 463 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.5369, allocations: 4 kB / 463 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.5375, allocations: 242.8 kB / 463.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.5379, allocations: 192.4 kB / 463.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.538, allocations: 8 kB / 463.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5382, allocations: 7.984 kB / 463.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5382, allocations: 15.94 kB / 463.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.5383, allocations: 8 kB / 463.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.5396, allocations: 0.7096 MB / 464.1 MB, free: 11.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5397, allocations: 4 kB / 464.1 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005247/0.5402, allocations: 111.8 kB / 464.2 MB, free: 11.14 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.002583/0.5428, allocations: 1.332 MB / 465.6 MB, free: 9.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.5435, allocations: 298.7 kB / 465.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5435, allocations: 0 / 465.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.5437, allocations: 47.92 kB / 465.9 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.5442, allocations: 66.19 kB / 466 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.5472, allocations: 1.947 MB / 467.9 MB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.5478, allocations: 0.8507 MB / 468.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.5482, allocations: 151.4 kB / 468.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5482, allocations: 0 / 468.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.004/3.552, allocations: 8.249 MB / 477.2 MB, free: 97.04 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat