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.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004576, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3428, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.535, allocations: 82.01 MB / 451.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5353, allocations: 75.95 kB / 451.5 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.02599/0.5613, allocations: 6.008 MB / 457.5 MB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5613, allocations: 0 / 457.5 MB, free: 2.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.847e-05/0.5614, allocations: 12 kB / 457.5 MB, free: 2.379 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.001427/0.5628, allocations: 0.8389 MB / 458.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5629, allocations: 8.031 kB / 458.3 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.563, allocations: 30.56 kB / 458.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.5631, allocations: 51.44 kB / 458.4 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5643, allocations: 471.2 kB / 458.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5644, allocations: 4 kB / 458.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.5644, allocations: 12 kB / 458.9 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.5647, allocations: 91.97 kB / 459 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5647, allocations: 4 kB / 459 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.5648, allocations: 3.984 kB / 459 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5648, allocations: 0 / 459 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.565, allocations: 31.98 kB / 459 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.5657, allocations: 418.2 kB / 459.4 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.5662, allocations: 113.2 kB / 459.5 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5662, allocations: 3.938 kB / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.5666, allocations: 117.1 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 4.939e-06/0.5666, allocations: 3.984 kB / 459.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008614/0.5675, allocations: 216.9 kB / 459.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.5676, allocations: 85.05 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.5698, allocations: 0.9355 MB / 460.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.5699, allocations: 33.7 kB / 460.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.5702, allocations: 254.8 kB / 461.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.5703, allocations: 23.7 kB / 461.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.5703, allocations: 4 kB / 461.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5705, allocations: 318.8 kB / 461.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.5707, allocations: 63.95 kB / 461.6 MB, free: 14.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.571, allocations: 96 kB / 461.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.5714, allocations: 131.3 kB / 461.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5714, allocations: 4 kB / 461.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007819/0.5722, allocations: 280.8 kB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5723, allocations: 63.39 kB / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5723, allocations: 0 / 462.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.5724, allocations: 8.062 kB / 462.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.5726, allocations: 20.58 kB / 462.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5726, allocations: 7.984 kB / 462.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.5729, allocations: 27.78 kB / 462.2 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.5729, allocations: 8 kB / 462.2 MB, free: 13.32 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.0004175/0.5734, allocations: 225.7 kB / 462.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5735, allocations: 63.28 kB / 462.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.5742, allocations: 205.6 kB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5742, allocations: 0 / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5743, allocations: 3.953 kB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5743, allocations: 4 kB / 462.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.5749, allocations: 385.2 kB / 463.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5749, allocations: 0 / 463.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.575, allocations: 12 kB / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.575, allocations: 0 / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.575, allocations: 0 / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.575, allocations: 7.984 kB / 463.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5751, allocations: 4 kB / 463.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.5757, allocations: 234.9 kB / 463.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.5761, allocations: 204.3 kB / 463.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.772e-05/0.5762, allocations: 4 kB / 463.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5764, allocations: 7.984 kB / 463.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.5765, allocations: 19.95 kB / 463.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5765, allocations: 7.984 kB / 463.5 MB, free: 11.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001537/0.5781, allocations: 0.733 MB / 464.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5781, allocations: 0 / 464.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000598/0.5787, allocations: 103.9 kB / 464.4 MB, free: 11.01 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.002726/0.5815, allocations: 1.331 MB / 465.7 MB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007627/0.5823, allocations: 306.8 kB / 466 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5823, allocations: 0 / 466 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.5825, allocations: 47.92 kB / 466.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.5831, allocations: 57.69 kB / 466.1 MB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5864, allocations: 1.991 MB / 468.1 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.5871, allocations: 0.8507 MB / 469 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.5875, allocations: 155.4 kB / 469.1 MB, free: 6.199 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5875, allocations: 0 / 469.1 MB, free: 6.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.955/3.542, allocations: 8.459 MB / 477.6 MB, free: 96.62 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat