Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 11.98 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4772, allocations: 75.59 MB / 407 MB, free: 2.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4776, allocations: 71.95 kB / 407 MB, free: 2.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.5043, allocations: 6.192 MB / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5044, allocations: 0 / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.5044, allocations: 8 kB / 413.2 MB, free: 12.46 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001336/0.5058, allocations: 0.8275 MB / 414 MB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5058, allocations: 8.031 kB / 414.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.5059, allocations: 42.55 kB / 414.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.5061, allocations: 55.39 kB / 414.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.507, allocations: 435.1 kB / 414.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.5071, allocations: 11.98 kB / 414.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.5071, allocations: 12 kB / 414.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.5075, allocations: 127.3 kB / 414.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5075, allocations: 0 / 414.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.5076, allocations: 11.94 kB / 414.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5076, allocations: 7.953 kB / 414.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.508, allocations: 91.83 kB / 414.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.5094, allocations: 0.6799 MB / 415.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.5097, allocations: 117.2 kB / 415.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.5098, allocations: 3.984 kB / 415.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5098, allocations: 34.69 kB / 415.7 MB, free: 9.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.026e-06/0.5098, allocations: 4 kB / 415.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.00234/0.5122, allocations: 0.5257 MB / 416.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.5123, allocations: 85.06 kB / 416.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.5138, allocations: 0.7287 MB / 417 MB, free: 8.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.5138, allocations: 25.7 kB / 417 MB, free: 8.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.5141, allocations: 258.8 kB / 417.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.5142, allocations: 55.2 kB / 417.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.5142, allocations: 4 kB / 417.3 MB, free: 8.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5143, allocations: 322.8 kB / 417.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.5147, allocations: 67.95 kB / 417.7 MB, free: 7.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.515, allocations: 93.67 kB / 417.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.5154, allocations: 175.1 kB / 418 MB, free: 7.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5154, allocations: 4 kB / 418 MB, free: 7.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008884/0.5163, allocations: 337 kB / 418.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.5164, allocations: 110.8 kB / 418.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.5164, allocations: 0 / 418.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5165, allocations: 7.953 kB / 418.4 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.5168, allocations: 43.97 kB / 418.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5169, allocations: 4 kB / 418.5 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.5172, allocations: 15.98 kB / 418.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.5172, allocations: 12 kB / 418.5 MB, free: 6.801 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0003553/0.5176, allocations: 205.7 kB / 418.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5177, allocations: 47.34 kB / 418.8 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.5188, allocations: 289.7 kB / 419 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5189, allocations: 3.953 kB / 419 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5189, allocations: 4 kB / 419 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5189, allocations: 0 / 419 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.5208, allocations: 0.8255 MB / 419.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5208, allocations: 3.953 kB / 419.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.5212, allocations: 51.91 kB / 419.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5212, allocations: 0 / 419.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5212, allocations: 7.984 kB / 419.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5212, allocations: 0 / 419.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5212, allocations: 4 kB / 419.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.5222, allocations: 435.7 kB / 420.4 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.5226, allocations: 176.5 kB / 420.5 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.5227, allocations: 4 kB / 420.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.523, allocations: 16 kB / 420.6 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.5231, allocations: 19.91 kB / 420.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.5231, allocations: 11.94 kB / 420.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.5242, allocations: 0.5808 MB / 421.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5243, allocations: 0 / 421.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006696/0.5249, allocations: 95.86 kB / 421.3 MB, free: 3.93 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002551/0.5275, allocations: 1.415 MB / 422.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.5285, allocations: 393.5 kB / 423.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5285, allocations: 0 / 423.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.5288, allocations: 91.89 kB / 423.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.5294, allocations: 46.23 kB / 423.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.5324, allocations: 1.557 MB / 424.8 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.5331, allocations: 0.8379 MB / 425.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.5335, allocations: 147.4 kB / 425.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5335, allocations: 0 / 425.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.645/3.178, allocations: 7.452 MB / 433.2 MB, free: 7.93 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat