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.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006135/0.0006134, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3359, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4889, allocations: 82.15 MB / 451.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.4893, allocations: 75.95 kB / 451.6 MB, free: 8.273 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.02815/0.5175, allocations: 4.904 MB / 456.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5175, allocations: 0 / 456.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.5176, allocations: 0 / 456.5 MB, free: 3.355 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.0008648/0.5185, allocations: 0.4902 MB / 457 MB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.5185, allocations: 12.03 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.5186, allocations: 30.56 kB / 457 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.5187, allocations: 23.81 kB / 457 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.5192, allocations: 222.7 kB / 457.3 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5192, allocations: 0 / 457.3 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.5193, allocations: 4 kB / 457.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.5195, allocations: 61.66 kB / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5196, allocations: 0 / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5196, allocations: 7.953 kB / 457.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5196, allocations: 0 / 457.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.5198, allocations: 19.98 kB / 457.4 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.5205, allocations: 328.8 kB / 457.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.5208, allocations: 66.59 kB / 457.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.5208, allocations: 4.125 kB / 457.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.5211, allocations: 76 kB / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.334e-06/0.5211, allocations: 0 / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009988/0.5221, allocations: 201 kB / 458 MB, free: 1.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5222, allocations: 51.41 kB / 458.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.5227, allocations: 233.7 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5228, allocations: 25.7 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5229, allocations: 170.6 kB / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.523, allocations: 27.64 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.523, allocations: 4 kB / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5232, allocations: 318.8 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.5234, allocations: 43.91 kB / 458.9 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5236, allocations: 51.53 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.5239, allocations: 73.69 kB / 459 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5239, allocations: 0 / 459 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006925/0.5247, allocations: 187.2 kB / 459.2 MB, free: 420 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.5247, allocations: 33.7 kB / 459.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5248, allocations: 0 / 459.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5248, allocations: 0 / 459.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.525, allocations: 19.98 kB / 459.2 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/0.525, allocations: 0 / 459.2 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.5252, allocations: 8 kB / 459.2 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.5252, allocations: 4 kB / 459.2 MB, free: 348 kB / 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.0002134/0.5255, allocations: 141.8 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.5255, allocations: 19.77 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.5261, allocations: 123 kB / 459.5 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5261, allocations: 7.938 kB / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5261, allocations: 0 / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5261, allocations: 0 / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5271, allocations: 439.7 kB / 460 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5272, allocations: 0 / 460 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5273, allocations: 23.95 kB / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5273, allocations: 0 / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.5273, allocations: 8 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5274, allocations: 0 / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5274, allocations: 0 / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.5279, allocations: 229.9 kB / 460.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5281, allocations: 112.9 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.5282, allocations: 4 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.5284, allocations: 4 kB / 460.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.5284, allocations: 7.984 kB / 460.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.5285, allocations: 4 kB / 460.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.5289, allocations: 188.2 kB / 460.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5289, allocations: 0 / 460.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006686/0.5296, allocations: 47.92 kB / 460.6 MB, free: 14.89 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.002763/0.5323, allocations: 1.187 MB / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.533, allocations: 167.3 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.533, allocations: 0 / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.5332, allocations: 35.92 kB / 462 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.5337, allocations: 20.08 kB / 462 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5354, allocations: 0.7515 MB / 462.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.5359, allocations: 0.7277 MB / 463.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.5361, allocations: 39.42 kB / 463.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5361, allocations: 0 / 463.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.636/3.172, allocations: 2.816 MB / 466.3 MB, free: 9.094 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat