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.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 16 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3397, allocations: 54.87 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4894, allocations: 82.14 MB / 451.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4898, allocations: 67.97 kB / 451.6 MB, free: 8.387 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.02124/0.511, allocations: 4.645 MB / 456.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5111, allocations: 0 / 456.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.5111, allocations: 4 kB / 456.2 MB, free: 3.73 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.0008371/0.512, allocations: 490 kB / 456.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.512, allocations: 12.03 kB / 456.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.5121, allocations: 34.56 kB / 456.8 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.5122, allocations: 15.89 kB / 456.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.5127, allocations: 199 kB / 457 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5127, allocations: 7.922 kB / 457 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.5128, allocations: 8 kB / 457 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.513, allocations: 53.67 kB / 457 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.513, allocations: 3.938 kB / 457 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.5131, allocations: 3.953 kB / 457 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5131, allocations: 0 / 457 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.5133, allocations: 27.98 kB / 457.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.514, allocations: 320.7 kB / 457.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.5143, allocations: 58.62 kB / 457.4 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.5144, allocations: 3.984 kB / 457.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.5146, allocations: 80.17 kB / 457.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.5146, allocations: 3.938 kB / 457.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000999/0.5157, allocations: 177.2 kB / 457.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.5157, allocations: 59.41 kB / 457.8 MB, free: 2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.5161, allocations: 178.4 kB / 457.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.5162, allocations: 33.7 kB / 458 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5163, allocations: 162.6 kB / 458.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.5164, allocations: 23.7 kB / 458.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5164, allocations: 4 kB / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5166, allocations: 314.8 kB / 458.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.5168, allocations: 35.98 kB / 458.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.517, allocations: 61.62 kB / 458.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.5173, allocations: 77.69 kB / 458.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5173, allocations: 0 / 458.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006316/0.518, allocations: 179.2 kB / 458.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.5181, allocations: 37.69 kB / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5181, allocations: 0 / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5181, allocations: 0 / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.5183, allocations: 15.94 kB / 458.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.5184, allocations: 7.984 kB / 458.9 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.5185, allocations: 8 kB / 458.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5186, allocations: 4 kB / 458.9 MB, free: 0.8164 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.0001954/0.5188, allocations: 125.8 kB / 459 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.5188, allocations: 23.83 kB / 459 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.5194, allocations: 123 kB / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.5194, allocations: 0 / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5194, allocations: 0 / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5194, allocations: 0 / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.5204, allocations: 423.6 kB / 459.6 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5204, allocations: 0 / 459.6 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.5205, allocations: 16.03 kB / 459.6 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.5206, allocations: 7.984 kB / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5206, allocations: 0 / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.5206, allocations: 0 / 459.6 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5206, allocations: 7.938 kB / 459.6 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.5212, allocations: 222.1 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.5214, allocations: 108.8 kB / 459.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.5214, allocations: 3.984 kB / 459.9 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.5216, allocations: 4 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.5217, allocations: 8 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.5217, allocations: 7.984 kB / 459.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.522, allocations: 139.9 kB / 460.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.522, allocations: 0 / 460.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000677/0.5227, allocations: 43.94 kB / 460.1 MB, free: 15.45 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.002672/0.5254, allocations: 1.172 MB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.526, allocations: 167.3 kB / 461.4 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5261, allocations: 4 kB / 461.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.5263, allocations: 39.91 kB / 461.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5268, allocations: 15.98 kB / 461.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5283, allocations: 0.6751 MB / 462.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.5288, allocations: 0.7121 MB / 462.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.529, allocations: 39.3 kB / 462.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.529, allocations: 0 / 462.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.555/3.084, allocations: 2.486 MB / 465.4 MB, free: 10.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat