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.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 19.98 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3648, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.5089, allocations: 82.15 MB / 451.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5092, allocations: 71.91 kB / 451.6 MB, free: 8.289 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.02029/0.5295, allocations: 4.766 MB / 456.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5296, allocations: 0 / 456.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.5296, allocations: 0 / 456.4 MB, free: 3.512 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.0006794/0.5303, allocations: 490 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5303, allocations: 12.03 kB / 456.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.5304, allocations: 30.56 kB / 456.9 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.5304, allocations: 15.81 kB / 456.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.5308, allocations: 210.9 kB / 457.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.5309, allocations: 4 kB / 457.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.5309, allocations: 11.98 kB / 457.1 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5311, allocations: 61.61 kB / 457.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5311, allocations: 0 / 457.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5311, allocations: 7.891 kB / 457.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5312, allocations: 0 / 457.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.5313, allocations: 23.98 kB / 457.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.5318, allocations: 312.9 kB / 457.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5321, allocations: 70.55 kB / 457.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5321, allocations: 4 kB / 457.6 MB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.5323, allocations: 72.09 kB / 457.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.5324, allocations: 0 / 457.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008072/0.5332, allocations: 189.1 kB / 457.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.5332, allocations: 59.41 kB / 457.9 MB, free: 1.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.5335, allocations: 198.5 kB / 458.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.5336, allocations: 29.7 kB / 458.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.5337, allocations: 170.5 kB / 458.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.5338, allocations: 23.73 kB / 458.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.5338, allocations: 0 / 458.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5339, allocations: 314.8 kB / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.5341, allocations: 35.98 kB / 458.6 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.5342, allocations: 65.62 kB / 458.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5344, allocations: 77.69 kB / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5345, allocations: 0 / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004427/0.5349, allocations: 175.2 kB / 459 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.535, allocations: 41.69 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.535, allocations: 0 / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.535, allocations: 0 / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5352, allocations: 20.02 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5352, allocations: 4 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.5353, allocations: 4 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5353, allocations: 4 kB / 459 MB, free: 0.5703 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.0001497/0.5355, allocations: 133.8 kB / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.5355, allocations: 15.77 kB / 459.2 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.5359, allocations: 127.1 kB / 459.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.536, allocations: 0 / 459.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.536, allocations: 4 kB / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.536, allocations: 0 / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.5368, allocations: 427.2 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5368, allocations: 192 / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.5369, allocations: 16.31 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5369, allocations: 7.875 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5369, allocations: 4 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.5369, allocations: 7.984 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5369, allocations: 4.031 kB / 459.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.5373, allocations: 225.8 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.5375, allocations: 105 kB / 460.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.5375, allocations: 0 / 460.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5376, allocations: 7.984 kB / 460.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.5377, allocations: 12 kB / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5377, allocations: 0 / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.538, allocations: 167.2 kB / 460.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.538, allocations: 0 / 460.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.5384, allocations: 43.94 kB / 460.3 MB, free: 15.17 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.00188/0.5403, allocations: 1.175 MB / 461.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.5407, allocations: 167.3 kB / 461.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5407, allocations: 0 / 461.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.5409, allocations: 36.11 kB / 461.7 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.5412, allocations: 40.12 kB / 461.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5424, allocations: 0.6982 MB / 462.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.5427, allocations: 0.714 MB / 463.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.5428, allocations: 43.41 kB / 463.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5428, allocations: 0 / 463.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.515/3.058, allocations: 2.601 MB / 465.8 MB, free: 9.648 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat