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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004517, allocations: 16 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3654, allocations: 54.86 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.5126, allocations: 82.11 MB / 451.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.513, allocations: 79.89 kB / 451.6 MB, free: 10.37 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.01998/0.533, allocations: 4.473 MB / 456 MB, free: 5.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.533, allocations: 0 / 456 MB, free: 5.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5331, allocations: 0 / 456 MB, free: 5.891 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.0007092/0.5338, allocations: 491.8 kB / 456.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5338, allocations: 8.031 kB / 456.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.5339, allocations: 34.55 kB / 456.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.534, allocations: 11.91 kB / 456.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.5343, allocations: 206.9 kB / 456.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.5344, allocations: 0 / 456.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.5344, allocations: 8 kB / 456.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.5346, allocations: 53.67 kB / 456.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5346, allocations: 0 / 456.8 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.5347, allocations: 15.89 kB / 456.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.5347, allocations: 0 / 456.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.5348, allocations: 23.92 kB / 456.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.5353, allocations: 308.9 kB / 457.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.5356, allocations: 54.69 kB / 457.2 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5356, allocations: 11.94 kB / 457.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.5358, allocations: 72.17 kB / 457.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.5359, allocations: 0 / 457.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008023/0.5367, allocations: 185.1 kB / 457.5 MB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.5367, allocations: 51.41 kB / 457.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.537, allocations: 165.3 kB / 457.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.537, allocations: 33.64 kB / 457.7 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.5371, allocations: 170.5 kB / 457.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.5372, allocations: 27.64 kB / 457.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.5372, allocations: 4 kB / 457.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5373, allocations: 318.8 kB / 458.2 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.5375, allocations: 35.98 kB / 458.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5376, allocations: 57.69 kB / 458.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5378, allocations: 69.7 kB / 458.4 MB, free: 3.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5379, allocations: 4 kB / 458.4 MB, free: 3.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004663/0.5383, allocations: 179.2 kB / 458.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.5384, allocations: 29.7 kB / 458.6 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5384, allocations: 7.984 kB / 458.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5384, allocations: 384 / 458.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5386, allocations: 19.94 kB / 458.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5386, allocations: 0 / 458.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5387, allocations: 12 kB / 458.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.5388, allocations: 7.984 kB / 458.6 MB, free: 3.012 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.000144/0.5389, allocations: 129.9 kB / 458.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.539, allocations: 15.77 kB / 458.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.5394, allocations: 122.4 kB / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5394, allocations: 0 / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5394, allocations: 0 / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5394, allocations: 15.91 kB / 458.9 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.5401, allocations: 411.3 kB / 459.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5402, allocations: 0 / 459.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.5402, allocations: 11.98 kB / 459.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5403, allocations: 4 kB / 459.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5403, allocations: 0 / 459.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5403, allocations: 0 / 459.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5403, allocations: 0 / 459.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.5407, allocations: 234.1 kB / 459.6 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.5408, allocations: 97 kB / 459.7 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.5409, allocations: 7.938 kB / 459.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.541, allocations: 4 kB / 459.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.541, allocations: 11.92 kB / 459.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5411, allocations: 4 kB / 459.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.5413, allocations: 135.2 kB / 459.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5413, allocations: 4 kB / 459.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.5417, allocations: 43.92 kB / 459.9 MB, free: 1.656 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.001888/0.5436, allocations: 1.171 MB / 461 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.5441, allocations: 167.3 kB / 461.2 MB, free: 372 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5441, allocations: 0 / 461.2 MB, free: 372 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.5442, allocations: 39.91 kB / 461.2 MB, free: 332 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.5446, allocations: 23.34 kB / 461.3 MB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5457, allocations: 0.6655 MB / 461.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.546, allocations: 0.7121 MB / 462.6 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.5461, allocations: 35.36 kB / 462.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5461, allocations: 0 / 462.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.619/3.165, allocations: 2.406 MB / 465.1 MB, free: 12.39 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat