Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4229, allocations: 54.85 MB / 369.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.5751, allocations: 80.81 MB / 450.2 MB, free: 9.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5755, allocations: 71.97 kB / 450.2 MB, free: 9.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.5951, allocations: 5.256 MB / 455.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.5951, allocations: 4 kB / 455.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.945e-05/0.5952, allocations: 8 kB / 455.5 MB, free: 4.355 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.001064/0.5962, allocations: 0.6432 MB / 456.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5963, allocations: 8.031 kB / 456.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.5964, allocations: 30.56 kB / 456.2 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.5965, allocations: 43.44 kB / 456.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.5971, allocations: 315.4 kB / 456.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5972, allocations: 0 / 456.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.5972, allocations: 0 / 456.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.5974, allocations: 65.67 kB / 456.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5975, allocations: 3.938 kB / 456.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5975, allocations: 3.953 kB / 456.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5975, allocations: 0 / 456.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.5977, allocations: 43.91 kB / 456.7 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.5985, allocations: 408.9 kB / 457.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.5988, allocations: 46.55 kB / 457.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.5988, allocations: 7.953 kB / 457.1 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5989, allocations: 42.5 kB / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.906e-06/0.5989, allocations: 0 / 457.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005544/0.5994, allocations: 129.2 kB / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5995, allocations: 55.41 kB / 457.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.6014, allocations: 0.7666 MB / 458.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.6015, allocations: 25.7 kB / 458.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6018, allocations: 236.3 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.6018, allocations: 7.812 kB / 458.4 MB, free: 1.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6018, allocations: 0 / 458.4 MB, free: 1.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6019, allocations: 318.8 kB / 458.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.6021, allocations: 23.98 kB / 458.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.6022, allocations: 23.92 kB / 458.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.6024, allocations: 53.62 kB / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6024, allocations: 0 / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003422/0.6028, allocations: 103.7 kB / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.6028, allocations: 37.66 kB / 458.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6029, allocations: 3.984 kB / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6029, allocations: 48 / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.603, allocations: 15.97 kB / 458.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.603, allocations: 0 / 458.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.6032, allocations: 12 kB / 458.9 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.6032, allocations: 0 / 458.9 MB, free: 0.6797 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0003839/0.6036, allocations: 209.8 kB / 459.1 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.6038, allocations: 35.53 kB / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.6042, allocations: 128.8 kB / 459.3 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6042, allocations: 8 kB / 459.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6042, allocations: 0 / 459.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6043, allocations: 0 / 459.3 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.6048, allocations: 325.4 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6048, allocations: 0 / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.6049, allocations: 11.98 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.6049, allocations: 0 / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6049, allocations: 3.938 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.605, allocations: 7.953 kB / 459.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.605, allocations: 0 / 459.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.6054, allocations: 207 kB / 459.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.6057, allocations: 160.5 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.6058, allocations: 0 / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.6059, allocations: 8 kB / 460 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.606, allocations: 11.94 kB / 460 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.606, allocations: 0 / 460 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.6072, allocations: 0.6198 MB / 460.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6072, allocations: 0 / 460.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.6077, allocations: 55.98 kB / 460.7 MB, free: 14.8 MB / 394.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 (3): * Single equations (assignments): 3 * 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.001438/0.6091, allocations: 0.8914 MB / 461.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.6096, allocations: 99.38 kB / 461.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6096, allocations: 0 / 461.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.6097, allocations: 24.08 kB / 461.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.6101, allocations: 18.02 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.002761/0.6129, allocations: 1.355 MB / 463.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.6135, allocations: 0.8184 MB / 463.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.6138, allocations: 107.6 kB / 464 MB, free: 11.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6138, allocations: 0 / 464 MB, free: 11.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.338, allocations: 6.596 MB / 470.6 MB, free: 4.809 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat