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.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 234.9 MB / 250.5 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.000434, allocations: 12 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5151, allocations: 82.14 MB / 451.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.5155, allocations: 79.91 kB / 451.6 MB, free: 10.32 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.02658/0.5422, allocations: 4.575 MB / 456.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5422, allocations: 0 / 456.2 MB, free: 5.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.5422, allocations: 8 kB / 456.2 MB, free: 5.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.0008389/0.5431, allocations: 478.1 kB / 456.6 MB, free: 5.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5432, allocations: 8.031 kB / 456.6 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.278e-05/0.5433, allocations: 42.55 kB / 456.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.5433, allocations: 7.906 kB / 456.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.5438, allocations: 202.8 kB / 456.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.5439, allocations: 8 kB / 456.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.5439, allocations: 4 kB / 456.9 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.5441, allocations: 57.67 kB / 457 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5442, allocations: 0 / 457 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.5442, allocations: 7.953 kB / 457 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5442, allocations: 3.984 kB / 457 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.5444, allocations: 19.98 kB / 457 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.5451, allocations: 316.9 kB / 457.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.5454, allocations: 66.56 kB / 457.4 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5455, allocations: 3.984 kB / 457.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.5457, allocations: 72.19 kB / 457.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.5457, allocations: 0 / 457.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008794/0.5466, allocations: 181.1 kB / 457.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.5467, allocations: 55.41 kB / 457.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.5469, allocations: 169.3 kB / 457.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.547, allocations: 25.7 kB / 457.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.5471, allocations: 170.5 kB / 458 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.5471, allocations: 27.59 kB / 458.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.5471, allocations: 0 / 458.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5473, allocations: 322.8 kB / 458.4 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.5475, allocations: 35.92 kB / 458.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5477, allocations: 64.36 kB / 458.5 MB, free: 3.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5478, allocations: 69.7 kB / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5479, allocations: 0 / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004769/0.5483, allocations: 183.2 kB / 458.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.5484, allocations: 37.7 kB / 458.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5484, allocations: 3.984 kB / 458.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5485, allocations: 0 / 458.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.5486, allocations: 16 kB / 458.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5486, allocations: 0 / 458.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.5488, allocations: 8.031 kB / 458.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.5488, allocations: 7.984 kB / 458.8 MB, free: 2.855 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.0001577/0.549, allocations: 131.5 kB / 458.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.549, allocations: 15.77 kB / 458.9 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.5494, allocations: 122.4 kB / 459 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5495, allocations: 4 kB / 459 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5495, allocations: 0 / 459 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5495, allocations: 3.984 kB / 459.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.5503, allocations: 411.3 kB / 459.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5503, allocations: 0 / 459.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.5504, allocations: 15.98 kB / 459.5 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.5504, allocations: 3.938 kB / 459.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5504, allocations: 0 / 459.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5504, allocations: 4 kB / 459.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5504, allocations: 0 / 459.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.5508, allocations: 229.9 kB / 459.7 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5509, allocations: 101.3 kB / 459.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.551, allocations: 0 / 459.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5511, allocations: 12 kB / 459.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5512, allocations: 8.266 kB / 459.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5512, allocations: 8 kB / 459.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.5514, allocations: 135.2 kB / 460 MB, free: 1.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5514, allocations: 3.938 kB / 460 MB, free: 1.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.5518, allocations: 39.92 kB / 460 MB, free: 1.504 MB / 378.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.00249/0.5543, allocations: 1.171 MB / 461.2 MB, free: 396 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.5549, allocations: 163.4 kB / 461.3 MB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5549, allocations: 0 / 461.3 MB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.555, allocations: 39.91 kB / 461.4 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.5554, allocations: 23.58 kB / 461.4 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.5565, allocations: 0.6733 MB / 462.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.5569, allocations: 0.7121 MB / 462.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.557, allocations: 35.42 kB / 462.8 MB, free: 14.64 MB / 394.7 MB Notification: Performance of SimCode: time 9.91e-07/0.557, allocations: 0 / 462.8 MB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/3.117, allocations: 2.414 MB / 465.2 MB, free: 12.23 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat