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.Test75.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 235.1 MB / 243 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.607e-05, allocations: 8 kB / 303.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3794, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5314, allocations: 81.5 MB / 439.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5317, allocations: 75.95 kB / 439.7 MB, free: 13.24 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.03063/0.5623, allocations: 6.858 MB / 446.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5624, allocations: 0 / 446.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.5624, allocations: 7.984 kB / 446.6 MB, free: 6.359 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.0008968/0.5633, allocations: 0.6176 MB / 447.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5634, allocations: 8.031 kB / 447.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.5635, allocations: 31.62 kB / 447.2 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.5641, allocations: 280 kB / 447.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.5642, allocations: 4 kB / 447.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.5642, allocations: 15.86 kB / 447.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/0.5644, allocations: 35.98 kB / 447.6 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.5646, allocations: 91.36 kB / 447.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5646, allocations: 4 kB / 447.7 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.5647, allocations: 0 / 447.7 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5647, allocations: 3.938 kB / 447.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.5655, allocations: 489.4 kB / 448.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.5658, allocations: 109.4 kB / 448.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.5659, allocations: 37.83 kB / 448.3 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5659, allocations: 4 kB / 448.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.5662, allocations: 105.1 kB / 448.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.5662, allocations: 0 / 448.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0011/0.5673, allocations: 335.9 kB / 448.7 MB, free: 4.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.5674, allocations: 81.05 kB / 448.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.568, allocations: 369.1 kB / 449.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.5681, allocations: 25.7 kB / 449.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.5682, allocations: 202.9 kB / 449.4 MB, free: 3.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.5683, allocations: 47.36 kB / 449.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.5683, allocations: 4 kB / 449.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5685, allocations: 326.8 kB / 449.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.5687, allocations: 60.19 kB / 449.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.5689, allocations: 99.61 kB / 449.9 MB, free: 2.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.5691, allocations: 83.89 kB / 450 MB, free: 2.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.5692, allocations: 0 / 450 MB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006479/0.5698, allocations: 225.5 kB / 450.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.5699, allocations: 71.39 kB / 450.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5699, allocations: 0 / 450.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.57, allocations: 4 kB / 450.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.5702, allocations: 31.92 kB / 450.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5703, allocations: 4 kB / 450.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.5705, allocations: 11.94 kB / 450.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.5705, allocations: 15.98 kB / 450.3 MB, free: 2.309 MB / 378.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 () * 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.0001337/0.5707, allocations: 123 kB / 450.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004323/0.5711, allocations: 173.2 kB / 450.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.5712, allocations: 27.72 kB / 450.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/0.5718, allocations: 212.4 kB / 450.9 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.5718, allocations: 4.375 kB / 450.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5718, allocations: 0 / 450.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5718, allocations: 0 / 450.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.573, allocations: 0.6365 MB / 451.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.573, allocations: 3.938 kB / 451.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.5732, allocations: 23.92 kB / 451.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5732, allocations: 4 kB / 451.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.5732, allocations: 4 kB / 451.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.5733, allocations: 0 / 451.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5733, allocations: 4 kB / 451.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.5738, allocations: 410.5 kB / 451.9 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.574, allocations: 128.8 kB / 452.1 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.5741, allocations: 4 kB / 452.1 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5744, allocations: 11.98 kB / 452.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.5744, allocations: 15.98 kB / 452.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.5745, allocations: 8.375 kB / 452.1 MB, free: 420 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004607/0.5749, allocations: 288.6 kB / 452.4 MB, free: 132 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.575, allocations: 0 / 452.4 MB, free: 132 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005917/0.5756, allocations: 87.86 kB / 452.5 MB, free: 44 kB / 378.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) * 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.002586/0.5782, allocations: 1.599 MB / 454.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.5788, allocations: 318.7 kB / 454.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.5789, allocations: 4 kB / 454.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.5791, allocations: 55.94 kB / 454.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.5797, allocations: 37.95 kB / 454.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.5812, allocations: 0.5277 MB / 455 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.5816, allocations: 0.775 MB / 455.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.5818, allocations: 83.41 kB / 455.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5819, allocations: 0 / 455.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.668/3.25, allocations: 5.03 MB / 460.9 MB, free: 7.543 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat