Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004559, allocations: 8 kB / 282.7 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 48.71 MB / 331.4 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.5026, allocations: 74.53 MB / 405.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5028, allocations: 71.95 kB / 406 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01251/0.5154, allocations: 3.028 MB / 409 MB, free: 7.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5154, allocations: 0 / 409 MB, free: 7.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5155, allocations: 8 kB / 409 MB, free: 7.359 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005627/0.516, allocations: 435.5 kB / 409.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5161, allocations: 8.031 kB / 409.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.5161, allocations: 30.56 kB / 409.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.5162, allocations: 12.78 kB / 409.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.5165, allocations: 210.7 kB / 409.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5166, allocations: 0 / 409.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5166, allocations: 3.984 kB / 409.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.5168, allocations: 61.67 kB / 409.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5168, allocations: 0 / 409.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5168, allocations: 0 / 409.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5168, allocations: 0 / 409.8 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.517, allocations: 27.98 kB / 409.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.5176, allocations: 308.8 kB / 410.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.5178, allocations: 42.56 kB / 410.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5179, allocations: 0 / 410.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5179, allocations: 34.56 kB / 410.2 MB, free: 6.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.567e-06/0.5179, allocations: 4 kB / 410.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008642/0.5188, allocations: 173.3 kB / 410.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5189, allocations: 55.41 kB / 410.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.5192, allocations: 197.3 kB / 410.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.5193, allocations: 25.7 kB / 410.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5194, allocations: 162.6 kB / 410.8 MB, free: 5.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.5194, allocations: 15.8 kB / 410.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.5194, allocations: 0 / 410.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5196, allocations: 318.8 kB / 411.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.5198, allocations: 27.98 kB / 411.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5199, allocations: 27.98 kB / 411.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.5201, allocations: 61.61 kB / 411.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5201, allocations: 0 / 411.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004031/0.5205, allocations: 119.4 kB / 411.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.5206, allocations: 29.7 kB / 411.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5206, allocations: 7.922 kB / 411.4 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5206, allocations: 4 kB / 411.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.5208, allocations: 12 kB / 411.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5208, allocations: 0 / 411.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.5209, allocations: 15.92 kB / 411.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5209, allocations: 8 kB / 411.4 MB, free: 4.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.000136/0.5211, allocations: 125.8 kB / 411.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.5211, allocations: 15.81 kB / 411.5 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.5215, allocations: 105.9 kB / 411.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5216, allocations: 4 kB / 411.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5216, allocations: 0 / 411.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5216, allocations: 3.984 kB / 411.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.5223, allocations: 386.4 kB / 412 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5223, allocations: 384 / 412 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.5225, allocations: 16 kB / 412 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.5225, allocations: 4 kB / 412 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5225, allocations: 4 kB / 412 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.5225, allocations: 4 kB / 412 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5225, allocations: 7.969 kB / 412.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.5229, allocations: 191.4 kB / 412.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.523, allocations: 100.9 kB / 412.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.5231, allocations: 0 / 412.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.5232, allocations: 4 kB / 412.3 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.5232, allocations: 11.92 kB / 412.4 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.5233, allocations: 0 / 412.4 MB, free: 3.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.5235, allocations: 160 kB / 412.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5235, allocations: 4 kB / 412.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.5239, allocations: 23.94 kB / 412.5 MB, free: 3.477 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001309/0.5252, allocations: 0.8718 MB / 413.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.5256, allocations: 123.3 kB / 413.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5256, allocations: 4 kB / 413.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5258, allocations: 31.98 kB / 413.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.5261, allocations: 4 kB / 413.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.5271, allocations: 0.5217 MB / 414.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5275, allocations: 0.7121 MB / 414.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5276, allocations: 35.42 kB / 414.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5276, allocations: 0 / 414.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/3.204, allocations: 1.94 MB / 416.8 MB, free: 15.17 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat