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.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006365, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3378, allocations: 54.87 MB / 369.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.483, allocations: 82.01 MB / 451.4 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4833, allocations: 79.95 kB / 451.5 MB, free: 8.535 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.02494/0.5082, allocations: 6 MB / 457.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5083, allocations: 0 / 457.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.5083, allocations: 8 kB / 457.5 MB, free: 2.508 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.00129/0.5096, allocations: 0.839 MB / 458.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5097, allocations: 8.031 kB / 458.3 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.5097, allocations: 38.55 kB / 458.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.5099, allocations: 47.44 kB / 458.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.511, allocations: 471.2 kB / 458.9 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.511, allocations: 4 kB / 458.9 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.5111, allocations: 15.94 kB / 458.9 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.5114, allocations: 92.03 kB / 459 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5114, allocations: 0 / 459 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5114, allocations: 0 / 459 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5114, allocations: 0 / 459 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.5116, allocations: 39.97 kB / 459 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.5122, allocations: 418.1 kB / 459.4 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.5127, allocations: 109.3 kB / 459.5 MB, free: 252 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5127, allocations: 4 kB / 459.5 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.513, allocations: 113.1 kB / 459.6 MB, free: 116 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.513, allocations: 3.938 kB / 459.6 MB, free: 112 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008283/0.5139, allocations: 224.8 kB / 459.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.5139, allocations: 77.11 kB / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.516, allocations: 0.9316 MB / 460.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.5161, allocations: 33.7 kB / 460.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.5163, allocations: 258.7 kB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.5164, allocations: 27.7 kB / 461.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.5165, allocations: 0 / 461.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5166, allocations: 322.8 kB / 461.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.5169, allocations: 59.97 kB / 461.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.5171, allocations: 106.8 kB / 461.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.5175, allocations: 127.4 kB / 461.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5175, allocations: 0 / 461.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007538/0.5182, allocations: 276.8 kB / 462 MB, free: 13.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.5183, allocations: 69.42 kB / 462.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.5184, allocations: 0 / 462.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5184, allocations: 8.062 kB / 462.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.5186, allocations: 28.5 kB / 462.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5186, allocations: 4 kB / 462.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.519, allocations: 31.77 kB / 462.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.519, allocations: 8 kB / 462.2 MB, free: 13.45 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.0004182/0.5194, allocations: 225.7 kB / 462.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.5196, allocations: 59.33 kB / 462.5 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.5203, allocations: 209.6 kB / 462.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5203, allocations: 0 / 462.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5203, allocations: 3.953 kB / 462.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5203, allocations: 4 kB / 462.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.5209, allocations: 373.3 kB / 463 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.5209, allocations: 0 / 463 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.521, allocations: 23.92 kB / 463.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.521, allocations: 0 / 463.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5211, allocations: 4 kB / 463.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5211, allocations: 0 / 463.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5211, allocations: 4 kB / 463.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.5217, allocations: 235 kB / 463.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.5221, allocations: 200.3 kB / 463.5 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.5222, allocations: 7.984 kB / 463.5 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.5224, allocations: 8 kB / 463.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.5225, allocations: 19.94 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.5225, allocations: 4 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001503/0.524, allocations: 0.737 MB / 464.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5241, allocations: 3.938 kB / 464.3 MB, free: 11.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000635/0.5247, allocations: 103.9 kB / 464.4 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.004402/0.5291, allocations: 1.332 MB / 465.7 MB, free: 9.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.5308, allocations: 306.7 kB / 466 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5309, allocations: 0 / 466 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.5312, allocations: 47.97 kB / 466.1 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.532, allocations: 54.23 kB / 466.1 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.538, allocations: 1.987 MB / 468.1 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.5389, allocations: 0.8546 MB / 469 MB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.5396, allocations: 155.3 kB / 469.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5396, allocations: 0 / 469.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.924/3.464, allocations: 8.465 MB / 477.6 MB, free: 96.78 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat