Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.605/2.605, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.841e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3468, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4954, allocations: 80.19 MB / 438.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4957, allocations: 71.95 kB / 438.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5083, allocations: 2.787 MB / 441.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5084, allocations: 0 / 441.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5084, allocations: 4 kB / 441.2 MB, free: 11.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005114/0.5089, allocations: 392.1 kB / 441.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.509, allocations: 12.03 kB / 441.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.5091, allocations: 11.89 kB / 441.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.5093, allocations: 186.9 kB / 441.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.5094, allocations: 4 kB / 441.8 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.5094, allocations: 0 / 441.8 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/0.5096, allocations: 19.92 kB / 441.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5097, allocations: 45.69 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5097, allocations: 4 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5097, allocations: 0 / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5097, allocations: 7.953 kB / 441.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.5102, allocations: 257.4 kB / 442.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5105, allocations: 42.5 kB / 442.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.5105, allocations: 16.86 kB / 442.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.5106, allocations: 0 / 442.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.5106, allocations: 34.64 kB / 442.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.5106, allocations: 0 / 442.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005408/0.5112, allocations: 103.2 kB / 442.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5112, allocations: 55.34 kB / 442.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.5114, allocations: 146.5 kB / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5115, allocations: 29.7 kB / 442.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5116, allocations: 162.5 kB / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.5116, allocations: 15.8 kB / 442.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5116, allocations: 0 / 442.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5118, allocations: 310.8 kB / 443 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.5118, allocations: 12 kB / 443 MB, free: 9.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.5119, allocations: 12 kB / 443 MB, free: 9.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.5119, allocations: 19.98 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5119, allocations: 0 / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001722/0.5121, allocations: 65.69 kB / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.5122, allocations: 33.7 kB / 443.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5122, allocations: 0 / 443.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5122, allocations: 0 / 443.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.5124, allocations: 23.88 kB / 443.2 MB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5124, allocations: 3.938 kB / 443.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.5125, allocations: 7.984 kB / 443.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.5125, allocations: 4 kB / 443.2 MB, free: 9.48 MB / 378.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 () * 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 8.228e-05/0.5126, allocations: 115 kB / 443.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001787/0.5128, allocations: 65.59 kB / 443.3 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.5129, allocations: 7.906 kB / 443.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.5131, allocations: 82.34 kB / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5131, allocations: 0 / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5131, allocations: 0 / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5132, allocations: 0 / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.5137, allocations: 311.2 kB / 443.7 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5137, allocations: 4 kB / 443.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.5138, allocations: 15.98 kB / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.5138, allocations: 3.953 kB / 443.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5139, allocations: 4 kB / 443.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5139, allocations: 0 / 443.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5139, allocations: 0 / 443.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.5141, allocations: 163.4 kB / 443.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.5142, allocations: 97 kB / 444 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5142, allocations: 3.953 kB / 444 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5144, allocations: 4 kB / 444 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.5144, allocations: 7.984 kB / 444 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5144, allocations: 0 / 444 MB, free: 8.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5146, allocations: 117.8 kB / 444.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5146, allocations: 0 / 444.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.5149, allocations: 19.94 kB / 444.2 MB, free: 8.387 MB / 378.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 () * 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.001137/0.5161, allocations: 0.8479 MB / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.5163, allocations: 91.39 kB / 445.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5163, allocations: 0 / 445.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.5164, allocations: 16 kB / 445.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5167, allocations: 27.75 kB / 445.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.5173, allocations: 199 kB / 445.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.5177, allocations: 0.7002 MB / 446 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.5178, allocations: 23.42 kB / 446.1 MB, free: 6.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5178, allocations: 3.938 kB / 446.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/3.266, allocations: 1.674 MB / 447.7 MB, free: 4.738 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat does not exist to compare? outputFormat=mat