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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.357/2.357, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.01e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3439, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4913, allocations: 81.4 MB / 439.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4916, allocations: 75.95 kB / 439.6 MB, free: 13.27 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02061/0.5122, allocations: 4.701 MB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5123, allocations: 0 / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5123, allocations: 8 kB / 444.3 MB, free: 8.559 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.0006119/0.5129, allocations: 469.4 kB / 444.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.513, allocations: 8.031 kB / 444.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.5131, allocations: 11.91 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.5134, allocations: 214.8 kB / 445 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.5135, allocations: 3.984 kB / 445 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5135, allocations: 4 kB / 445 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.288e-05/0.5136, allocations: 16 kB / 445 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5138, allocations: 57.67 kB / 445.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5138, allocations: 7.891 kB / 445.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5138, allocations: 0 / 445.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5138, allocations: 0 / 445.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.5143, allocations: 293.5 kB / 445.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.5145, allocations: 42.7 kB / 445.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.5146, allocations: 28.97 kB / 445.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.5146, allocations: 0 / 445.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.5148, allocations: 67.3 kB / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.5148, allocations: 0 / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000597/0.5154, allocations: 165.1 kB / 445.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.5154, allocations: 55.41 kB / 445.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.5157, allocations: 190.6 kB / 445.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5158, allocations: 29.7 kB / 445.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.5159, allocations: 162.6 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.5159, allocations: 27.64 kB / 446.1 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.5159, allocations: 7.875 kB / 446.1 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5161, allocations: 323.5 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.5162, allocations: 28 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5163, allocations: 45.72 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5164, allocations: 43.98 kB / 446.6 MB, free: 6.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5165, allocations: 0 / 446.6 MB, free: 6.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003445/0.5168, allocations: 137.5 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.5169, allocations: 37.8 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5169, allocations: 7.891 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5169, allocations: 0 / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.5171, allocations: 15.98 kB / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5171, allocations: 4 kB / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.5172, allocations: 4 kB / 446.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.5173, allocations: 8.031 kB / 446.8 MB, free: 5.867 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 () * 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 9.684e-05/0.5174, allocations: 107 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002292/0.5176, allocations: 101.5 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.5176, allocations: 15.77 kB / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.518, allocations: 115.4 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.518, allocations: 192 / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.518, allocations: 4 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.518, allocations: 0 / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.5187, allocations: 395.9 kB / 447.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5187, allocations: 0 / 447.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.5188, allocations: 12 kB / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.5188, allocations: 4 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5188, allocations: 3.984 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5188, allocations: 80 / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/0.5189, allocations: 7.984 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5192, allocations: 213.9 kB / 447.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5193, allocations: 100.9 kB / 447.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.5193, allocations: 7.984 kB / 447.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.5195, allocations: 8 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.5195, allocations: 3.984 kB / 447.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5195, allocations: 4 kB / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.5198, allocations: 164.2 kB / 448 MB, free: 4.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5198, allocations: 4 kB / 448 MB, free: 4.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000399/0.5202, allocations: 35.94 kB / 448.1 MB, free: 4.477 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) * 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.001588/0.5218, allocations: 1.091 MB / 449.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.5222, allocations: 163.3 kB / 449.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5222, allocations: 0 / 449.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.5223, allocations: 31.94 kB / 449.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.5226, allocations: 12.8 kB / 449.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.5235, allocations: 288.9 kB / 449.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5239, allocations: 0.7119 MB / 450.3 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.524, allocations: 39.42 kB / 450.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.524, allocations: 0 / 450.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.523/3.047, allocations: 2.623 MB / 453 MB, free: 15.46 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