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.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.231/2.231, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005923/0.0005925, allocations: 16 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3546, allocations: 54.85 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5038, allocations: 82.14 MB / 451.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5041, allocations: 79.84 kB / 451.6 MB, free: 10.34 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.02022/0.5244, allocations: 4.696 MB / 456.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5244, allocations: 0 / 456.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.5244, allocations: 4 kB / 456.3 MB, free: 5.637 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.0006531/0.5251, allocations: 490 kB / 456.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5251, allocations: 8.031 kB / 456.8 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.5252, allocations: 38.5 kB / 456.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.5253, allocations: 7.906 kB / 456.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.5256, allocations: 219.5 kB / 457 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.5257, allocations: 8 kB / 457 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.5257, allocations: 4 kB / 457 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5259, allocations: 57.66 kB / 457.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5259, allocations: 3.906 kB / 457.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.526, allocations: 3.953 kB / 457.1 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.526, allocations: 7.938 kB / 457.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.5261, allocations: 27.92 kB / 457.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.5266, allocations: 308.9 kB / 457.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.5269, allocations: 62.67 kB / 457.5 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5269, allocations: 4 kB / 457.5 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.5271, allocations: 76.11 kB / 457.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.5271, allocations: 0 / 457.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007913/0.5279, allocations: 189.2 kB / 457.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.528, allocations: 55.41 kB / 457.8 MB, free: 3.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.5282, allocations: 189.4 kB / 458 MB, free: 3.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.5283, allocations: 29.64 kB / 458 MB, free: 3.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.5284, allocations: 166.6 kB / 458.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.5284, allocations: 27.64 kB / 458.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5285, allocations: 0 / 458.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5286, allocations: 318.8 kB / 458.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.5287, allocations: 43.97 kB / 458.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.5289, allocations: 49.7 kB / 458.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.5291, allocations: 73.69 kB / 458.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5291, allocations: 0 / 458.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000442/0.5296, allocations: 179.2 kB / 458.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.5296, allocations: 33.7 kB / 458.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5297, allocations: 0 / 458.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5297, allocations: 0 / 458.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5298, allocations: 24.39 kB / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5299, allocations: 3.938 kB / 458.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.53, allocations: 8 kB / 458.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.53, allocations: 8 kB / 458.9 MB, free: 2.703 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.0001427/0.5302, allocations: 135.5 kB / 459.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5302, allocations: 15.77 kB / 459.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.5306, allocations: 119 kB / 459.2 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5306, allocations: 8 kB / 459.2 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5306, allocations: 0 / 459.2 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5306, allocations: 0 / 459.2 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.5313, allocations: 427.2 kB / 459.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5313, allocations: 4 kB / 459.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.5314, allocations: 8 kB / 459.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5314, allocations: 0 / 459.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5315, allocations: 8 kB / 459.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5315, allocations: 4.031 kB / 459.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5315, allocations: 0 / 459.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.5319, allocations: 226 kB / 459.9 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.532, allocations: 105 kB / 460 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.5321, allocations: 7.938 kB / 460 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5322, allocations: 4 kB / 460 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.5322, allocations: 11.98 kB / 460 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.5323, allocations: 0 / 460 MB, free: 1.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.5325, allocations: 159.2 kB / 460.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5325, allocations: 0 / 460.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.5329, allocations: 43.92 kB / 460.2 MB, free: 1.316 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.001869/0.5348, allocations: 1.175 MB / 461.4 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.5352, allocations: 167.3 kB / 461.5 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5352, allocations: 0 / 461.5 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.5354, allocations: 32.16 kB / 461.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5357, allocations: 27.84 kB / 461.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5369, allocations: 0.6865 MB / 462.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5372, allocations: 0.7121 MB / 463 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5373, allocations: 35.42 kB / 463 MB, free: 14.44 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5373, allocations: 8.125 kB / 463 MB, free: 14.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.219, allocations: 2.554 MB / 465.6 MB, free: 11.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat