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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 12 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 54.88 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4874, allocations: 82.15 MB / 451.5 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4877, allocations: 75.95 kB / 451.6 MB, free: 8.383 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.01986/0.5076, allocations: 4.517 MB / 456.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5076, allocations: 0 / 456.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.5077, allocations: 8 kB / 456.1 MB, free: 3.852 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.0006493/0.5083, allocations: 474.2 kB / 456.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5084, allocations: 8.031 kB / 456.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.5084, allocations: 34.55 kB / 456.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.5085, allocations: 15.84 kB / 456.6 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.5089, allocations: 203.4 kB / 456.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.5089, allocations: 0 / 456.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.5089, allocations: 4 kB / 456.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5091, allocations: 57.67 kB / 456.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5092, allocations: 7.938 kB / 456.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5092, allocations: 7.953 kB / 456.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5092, allocations: 0 / 456.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.5093, allocations: 23.97 kB / 456.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.5098, allocations: 324.7 kB / 457.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.5101, allocations: 54.69 kB / 457.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5101, allocations: 4 kB / 457.3 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.5103, allocations: 84.05 kB / 457.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.5103, allocations: 0 / 457.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007982/0.5111, allocations: 177.3 kB / 457.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.5112, allocations: 55.41 kB / 457.6 MB, free: 2.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5114, allocations: 157 kB / 457.8 MB, free: 1.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.5115, allocations: 29.7 kB / 457.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.5115, allocations: 162.6 kB / 458 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.5116, allocations: 27.64 kB / 458 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.5116, allocations: 0 / 458 MB, free: 1.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5117, allocations: 318.8 kB / 458.3 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5119, allocations: 35.98 kB / 458.3 MB, free: 1.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.5121, allocations: 53.69 kB / 458.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.5123, allocations: 81.69 kB / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5123, allocations: 0 / 458.5 MB, free: 1.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004445/0.5127, allocations: 171.3 kB / 458.6 MB, free: 1.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.5128, allocations: 37.69 kB / 458.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5128, allocations: 0 / 458.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5128, allocations: 0 / 458.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.513, allocations: 19.98 kB / 458.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.513, allocations: 0 / 458.7 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.5131, allocations: 11.91 kB / 458.7 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.5131, allocations: 8.031 kB / 458.7 MB, free: 0.9961 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.0001326/0.5133, allocations: 129.8 kB / 458.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.5133, allocations: 15.86 kB / 458.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.5137, allocations: 118.4 kB / 459 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.5137, allocations: 0 / 459 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5138, allocations: 7.938 kB / 459 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5138, allocations: 0 / 459 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.5145, allocations: 411.2 kB / 459.4 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.5145, allocations: 7.984 kB / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.5146, allocations: 8 kB / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5146, allocations: 0 / 459.4 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5146, allocations: 8 kB / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5146, allocations: 0 / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5146, allocations: 384 / 459.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.515, allocations: 234 kB / 459.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.5151, allocations: 97 kB / 459.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.5152, allocations: 4 kB / 459.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5153, allocations: 8 kB / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.5154, allocations: 7.984 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5154, allocations: 4 kB / 459.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.5156, allocations: 123.2 kB / 459.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5156, allocations: 4 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.516, allocations: 43.98 kB / 459.9 MB, free: 15.66 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.001876/0.5179, allocations: 1.175 MB / 461.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.5183, allocations: 167.3 kB / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5183, allocations: 0 / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.5185, allocations: 35.97 kB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5188, allocations: 24.66 kB / 461.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5199, allocations: 0.6502 MB / 462 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5202, allocations: 0.712 MB / 462.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.5203, allocations: 35.42 kB / 462.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5203, allocations: 0 / 462.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/3.116, allocations: 2.352 MB / 465.1 MB, free: 10.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat