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.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.201/2.201, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004558, allocations: 19.94 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 54.87 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4823, allocations: 81.97 MB / 451.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.4827, allocations: 79.89 kB / 451.4 MB, free: 8.57 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.02509/0.5078, allocations: 4.429 MB / 455.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5078, allocations: 0 / 455.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.5079, allocations: 0 / 455.8 MB, free: 4.133 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.001194/0.5091, allocations: 466.2 kB / 456.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.5092, allocations: 8.031 kB / 456.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/0.5092, allocations: 34.56 kB / 456.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.5093, allocations: 19.8 kB / 456.4 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.5098, allocations: 210.3 kB / 456.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5099, allocations: 0 / 456.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.5099, allocations: 7.984 kB / 456.6 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.5102, allocations: 49.69 kB / 456.6 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5102, allocations: 3.984 kB / 456.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.5102, allocations: 3.953 kB / 456.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5103, allocations: 0 / 456.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.5108, allocations: 23.98 kB / 456.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.5112, allocations: 189.7 kB / 456.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.5115, allocations: 58.55 kB / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.5116, allocations: 0 / 456.9 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.5118, allocations: 67.48 kB / 457 MB, free: 2.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/0.5119, allocations: 0 / 457 MB, free: 2.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009304/0.5128, allocations: 109.5 kB / 457.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.5129, allocations: 55.41 kB / 457.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.5132, allocations: 166 kB / 457.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.5133, allocations: 25.7 kB / 457.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5134, allocations: 166.5 kB / 457.5 MB, free: 2.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.5135, allocations: 11.83 kB / 457.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.5135, allocations: 11.94 kB / 457.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5137, allocations: 314.8 kB / 457.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.5139, allocations: 31.98 kB / 457.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.5141, allocations: 49.69 kB / 457.9 MB, free: 1.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.5144, allocations: 61.7 kB / 457.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5144, allocations: 0 / 457.9 MB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005655/0.515, allocations: 155.1 kB / 458.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.515, allocations: 41.73 kB / 458.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5151, allocations: 3.984 kB / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5151, allocations: 0 / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5153, allocations: 15.94 kB / 458.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5153, allocations: 3.953 kB / 458.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.5155, allocations: 4 kB / 458.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.5155, allocations: 4 kB / 458.2 MB, free: 1.555 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.0001744/0.5157, allocations: 125.8 kB / 458.3 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.5157, allocations: 11.81 kB / 458.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.5162, allocations: 102 kB / 458.4 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5162, allocations: 3.938 kB / 458.4 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5162, allocations: 384 / 458.4 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.5162, allocations: 7.938 kB / 458.4 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.5165, allocations: 193.6 kB / 458.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5165, allocations: 3.984 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.5166, allocations: 4 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5166, allocations: 4 kB / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.5167, allocations: 0 / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5167, allocations: 0 / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5167, allocations: 4 kB / 458.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.5171, allocations: 117 kB / 458.7 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.5172, allocations: 96.91 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.5173, allocations: 0 / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.5174, allocations: 8 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.5175, allocations: 7.984 kB / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.5175, allocations: 0 / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.5177, allocations: 151 kB / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5177, allocations: 0 / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005694/0.5183, allocations: 32 kB / 459 MB, free: 0.5898 MB / 378.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.002299/0.5206, allocations: 0.9403 MB / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.5212, allocations: 155.3 kB / 460.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5212, allocations: 0 / 460.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.5214, allocations: 24 kB / 460.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.5218, allocations: 19.98 kB / 460.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5231, allocations: 0.6294 MB / 460.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.5236, allocations: 0.7043 MB / 461.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5237, allocations: 27.44 kB / 461.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5237, allocations: 0 / 461.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.137, allocations: 2.161 MB / 463.7 MB, free: 11.89 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat