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.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 20 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4743, allocations: 82.26 MB / 451.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4746, allocations: 79.91 kB / 451.7 MB, free: 8.16 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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02872/0.5033, allocations: 6.789 MB / 458.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5034, allocations: 0 / 458.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.5034, allocations: 4 kB / 458.5 MB, free: 1.348 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009351/0.5043, allocations: 0.6296 MB / 459.1 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5044, allocations: 8.031 kB / 459.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.5045, allocations: 46.55 kB / 459.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.5046, allocations: 31.59 kB / 459.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.5051, allocations: 258.6 kB / 459.5 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5052, allocations: 4 kB / 459.5 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.5052, allocations: 15.98 kB / 459.5 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.5055, allocations: 99.31 kB / 459.6 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5056, allocations: 7.938 kB / 459.6 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.5056, allocations: 0 / 459.6 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5056, allocations: 7.984 kB / 459.6 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.5058, allocations: 47.95 kB / 459.6 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.5067, allocations: 496.8 kB / 460.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.5071, allocations: 129.4 kB / 460.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.5072, allocations: 3.938 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.5075, allocations: 117 kB / 460.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.175e-06/0.5075, allocations: 4 kB / 460.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0014/0.5089, allocations: 376.7 kB / 460.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.509, allocations: 81.11 kB / 460.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.5096, allocations: 321.7 kB / 461.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.5096, allocations: 33.7 kB / 461.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5098, allocations: 183 kB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.5098, allocations: 47.36 kB / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.5099, allocations: 8 kB / 461.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.51, allocations: 318.8 kB / 461.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.5103, allocations: 80.14 kB / 461.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.5106, allocations: 108.7 kB / 461.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.511, allocations: 155.3 kB / 462 MB, free: 13.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.511, allocations: 4 kB / 462 MB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008174/0.5118, allocations: 312.9 kB / 462.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.5119, allocations: 71.39 kB / 462.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5119, allocations: 0 / 462.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5119, allocations: 0 / 462.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.5122, allocations: 35.92 kB / 462.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5122, allocations: 3.984 kB / 462.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.5124, allocations: 16 kB / 462.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.5125, allocations: 12.06 kB / 462.5 MB, free: 13.01 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002177/0.5127, allocations: 161.7 kB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.5128, allocations: 27.62 kB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.5135, allocations: 219.3 kB / 462.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.5135, allocations: 4 kB / 462.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5135, allocations: 0 / 462.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5135, allocations: 0 / 462.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5148, allocations: 0.6711 MB / 463.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5148, allocations: 0 / 463.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.5149, allocations: 23.98 kB / 463.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.515, allocations: 3.938 kB / 463.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.515, allocations: 4 kB / 463.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.515, allocations: 4 kB / 463.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.515, allocations: 4.062 kB / 463.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.5157, allocations: 427.1 kB / 464 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.5159, allocations: 124.8 kB / 464.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.516, allocations: 7.953 kB / 464.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5162, allocations: 11.98 kB / 464.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.5163, allocations: 11.98 kB / 464.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.5163, allocations: 8 kB / 464.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.5167, allocations: 245.9 kB / 464.4 MB, free: 10.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5167, allocations: 0 / 464.4 MB, free: 10.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006103/0.5173, allocations: 91.92 kB / 464.5 MB, free: 10.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.003043/0.5204, allocations: 1.761 MB / 466.3 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008343/0.5213, allocations: 330.7 kB / 466.6 MB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5213, allocations: 0 / 466.6 MB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.5215, allocations: 67.91 kB / 466.7 MB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.5221, allocations: 45.78 kB / 466.7 MB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.5243, allocations: 1.284 MB / 468 MB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5248, allocations: 0.7556 MB / 468.7 MB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.525, allocations: 75.41 kB / 468.8 MB, free: 6.449 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5251, allocations: 0 / 468.8 MB, free: 6.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.914/3.439, allocations: 4.567 MB / 473.4 MB, free: 1.887 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat