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.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004447, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 54.87 MB / 369.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4934, allocations: 81.98 MB / 451.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4937, allocations: 79.89 kB / 451.4 MB, free: 8.453 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02048/0.5142, allocations: 4.726 MB / 456.2 MB, free: 3.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5143, allocations: 4 kB / 456.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.5143, allocations: 0 / 456.2 MB, free: 3.711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007524/0.515, allocations: 0.4901 MB / 456.7 MB, free: 3.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5151, allocations: 12.03 kB / 456.7 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.5152, allocations: 34.56 kB / 456.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.5152, allocations: 11.91 kB / 456.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.5157, allocations: 218.8 kB / 456.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5157, allocations: 4 kB / 456.9 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.5157, allocations: 7.984 kB / 456.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.5159, allocations: 53.67 kB / 457 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5159, allocations: 3.938 kB / 457 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.516, allocations: 3.953 kB / 457 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.516, allocations: 0 / 457 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.5161, allocations: 23.92 kB / 457 MB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.5164, allocations: 201.7 kB / 457.2 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.5167, allocations: 58.61 kB / 457.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.5167, allocations: 0 / 457.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.5169, allocations: 67.42 kB / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.5169, allocations: 0 / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004372/0.5174, allocations: 105.4 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5174, allocations: 63.39 kB / 457.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.5178, allocations: 230.4 kB / 457.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5179, allocations: 25.7 kB / 457.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.518, allocations: 174.5 kB / 457.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.518, allocations: 15.83 kB / 457.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.5181, allocations: 3.938 kB / 457.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5183, allocations: 318.8 kB / 458.3 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5184, allocations: 23.98 kB / 458.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.5186, allocations: 61.62 kB / 458.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.5187, allocations: 61.7 kB / 458.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5188, allocations: 0 / 458.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004211/0.5192, allocations: 155.2 kB / 458.5 MB, free: 1.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.5193, allocations: 29.7 kB / 458.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5193, allocations: 7.984 kB / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5193, allocations: 0 / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.5194, allocations: 8 kB / 458.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5195, allocations: 7.984 kB / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.5196, allocations: 12 kB / 458.6 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.5196, allocations: 4 kB / 458.6 MB, free: 0.9883 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 (8): * Single equations (assignments): 7 * 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.0001777/0.5198, allocations: 133.8 kB / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.5199, allocations: 19.8 kB / 458.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.5202, allocations: 98.55 kB / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5202, allocations: 0 / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5202, allocations: 4 kB / 458.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5202, allocations: 3.953 kB / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.5205, allocations: 209.5 kB / 459.1 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5205, allocations: 384 / 459.1 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.5206, allocations: 7.984 kB / 459.1 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5206, allocations: 7.984 kB / 459.1 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5206, allocations: 8 kB / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5206, allocations: 0 / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5206, allocations: 0 / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.5209, allocations: 128.8 kB / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.5211, allocations: 100.9 kB / 459.3 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.5211, allocations: 4 kB / 459.3 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.5212, allocations: 0 / 459.3 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5213, allocations: 7.984 kB / 459.3 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5213, allocations: 4 kB / 459.3 MB, free: 164 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.5216, allocations: 196.1 kB / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5216, allocations: 0 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.5222, allocations: 32 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002358/0.5246, allocations: 0.9594 MB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.5251, allocations: 143.4 kB / 460.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5251, allocations: 0 / 460.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5252, allocations: 27.92 kB / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.5256, allocations: 16.17 kB / 460.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.527, allocations: 0.7259 MB / 461.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.5275, allocations: 0.716 MB / 462.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5277, allocations: 35.42 kB / 462.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5277, allocations: 3.938 kB / 462.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/3.058, allocations: 2.559 MB / 464.7 MB, free: 10.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat