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.Test21.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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.869e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3878, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5424, allocations: 81.56 MB / 439.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5427, allocations: 63.97 kB / 439.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02843/0.5711, allocations: 6.521 MB / 446.3 MB, free: 6.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5712, allocations: 4 kB / 446.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.5712, allocations: 11.98 kB / 446.3 MB, free: 6.652 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001021/0.5723, allocations: 0.6856 MB / 447 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.5723, allocations: 8.031 kB / 447 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.5725, allocations: 35.62 kB / 447 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.5731, allocations: 295.8 kB / 447.3 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.5732, allocations: 4 kB / 447.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.5732, allocations: 8 kB / 447.3 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002443/0.5735, allocations: 55.94 kB / 447.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.5738, allocations: 93.55 kB / 447.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.5738, allocations: 8 kB / 447.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.5738, allocations: 0 / 447.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5738, allocations: 3.938 kB / 447.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.575, allocations: 444.8 kB / 447.9 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.5752, allocations: 78.56 kB / 448 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.5753, allocations: 28.86 kB / 448 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.5754, allocations: 3.984 kB / 448 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.5754, allocations: 38.5 kB / 448.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.377e-06/0.5754, allocations: 0 / 448.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001251/0.5767, allocations: 309.8 kB / 448.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5768, allocations: 51.41 kB / 448.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/0.5776, allocations: 402.3 kB / 448.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5776, allocations: 25.7 kB / 448.8 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.5778, allocations: 218.9 kB / 449 MB, free: 3.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.5779, allocations: 59.11 kB / 449.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.5779, allocations: 0 / 449.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.578, allocations: 318.8 kB / 449.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5782, allocations: 48.38 kB / 449.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5783, allocations: 51.75 kB / 449.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.5785, allocations: 56.91 kB / 449.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5785, allocations: 3.938 kB / 449.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000467/0.579, allocations: 167.6 kB / 449.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5791, allocations: 136.5 kB / 449.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5791, allocations: 0 / 449.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5791, allocations: 7.953 kB / 449.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.5794, allocations: 39.91 kB / 449.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5795, allocations: 0 / 449.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.5796, allocations: 12 kB / 449.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5797, allocations: 8 kB / 449.9 MB, free: 2.754 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.732e-05/0.5798, allocations: 107 kB / 450 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004133/0.5802, allocations: 165.2 kB / 450.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.5803, allocations: 39.56 kB / 450.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.5809, allocations: 215.2 kB / 450.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.581, allocations: 8 kB / 450.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.581, allocations: 0 / 450.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.581, allocations: 0 / 450.5 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.5821, allocations: 0.5807 MB / 451 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5822, allocations: 0 / 451 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.5824, allocations: 39.92 kB / 451.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.5824, allocations: 7.938 kB / 451.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5825, allocations: 0 / 451.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5825, allocations: 0 / 451.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5825, allocations: 0 / 451.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.583, allocations: 276.1 kB / 451.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.5831, allocations: 120.7 kB / 451.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.5832, allocations: 4 kB / 451.5 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.5834, allocations: 11.98 kB / 451.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.5835, allocations: 19.92 kB / 451.5 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.5835, allocations: 4 kB / 451.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005159/0.584, allocations: 316.5 kB / 451.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.584, allocations: 0 / 451.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.5845, allocations: 95.64 kB / 451.9 MB, free: 0.6719 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 (17): * Single equations (assignments): 17 * 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.002552/0.5871, allocations: 1.33 MB / 453.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005913/0.5878, allocations: 393 kB / 453.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5878, allocations: 0 / 453.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.588, allocations: 63.94 kB / 453.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.5885, allocations: 33.17 kB / 453.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.5902, allocations: 0.5911 MB / 454.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.5907, allocations: 0.7865 MB / 455.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.591, allocations: 99.39 kB / 455.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.591, allocations: 0 / 455.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.677/3.268, allocations: 5.501 MB / 460.7 MB, free: 7.805 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat