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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.819e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3657, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5228, allocations: 80.25 MB / 438.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5232, allocations: 67.97 kB / 438.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01938/0.5426, allocations: 5.279 MB / 443.7 MB, free: 9.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5426, allocations: 0 / 443.7 MB, free: 9.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.5427, allocations: 8 kB / 443.7 MB, free: 9.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008546/0.5435, allocations: 0.5732 MB / 444.3 MB, free: 8.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.5436, allocations: 8.031 kB / 444.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5437, allocations: 43.47 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.5444, allocations: 315.3 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5444, allocations: 0 / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.5445, allocations: 4 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.461e-05/0.5446, allocations: 16 kB / 444.7 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5447, allocations: 53.56 kB / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5447, allocations: 0 / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5447, allocations: 7.984 kB / 444.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5447, allocations: 4 kB / 444.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.5455, allocations: 389.4 kB / 445.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.5457, allocations: 42.47 kB / 445.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.5458, allocations: 16.94 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5458, allocations: 4 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5459, allocations: 34.56 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.5459, allocations: 0 / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005974/0.5465, allocations: 181.9 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5465, allocations: 55.34 kB / 445.5 MB, free: 7.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.5483, allocations: 0.7355 MB / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.5484, allocations: 29.7 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.5486, allocations: 234.5 kB / 446.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.5487, allocations: 19.7 kB / 446.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.5487, allocations: 0 / 446.5 MB, free: 6.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5488, allocations: 314.8 kB / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.5489, allocations: 8 kB / 446.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.5489, allocations: 15.94 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.549, allocations: 16 kB / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.549, allocations: 0 / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001733/0.5492, allocations: 65.64 kB / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.5492, allocations: 29.7 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5493, allocations: 4 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5493, allocations: 3.984 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5494, allocations: 12 kB / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5495, allocations: 3.938 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.5496, allocations: 7.984 kB / 446.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.5496, allocations: 7.938 kB / 446.9 MB, free: 5.699 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.631e-05/0.5497, allocations: 107 kB / 447.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002277/0.55, allocations: 97.17 kB / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5501, allocations: 43.44 kB / 447.2 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.5504, allocations: 113.2 kB / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5504, allocations: 0 / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5504, allocations: 0 / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5504, allocations: 4 kB / 447.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.5514, allocations: 0.5227 MB / 447.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5515, allocations: 4.062 kB / 447.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5516, allocations: 23.98 kB / 447.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5516, allocations: 0 / 447.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.5516, allocations: 0 / 447.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5516, allocations: 0 / 447.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5517, allocations: 4 kB / 447.9 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.552, allocations: 194.9 kB / 448 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.5523, allocations: 160.6 kB / 448.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.5523, allocations: 0 / 448.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.5525, allocations: 4 kB / 448.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5525, allocations: 7.984 kB / 448.2 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5526, allocations: 0 / 448.2 MB, free: 4.332 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.5536, allocations: 0.5926 MB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5536, allocations: 0 / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.5541, allocations: 59.92 kB / 448.9 MB, free: 3.684 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.001243/0.5553, allocations: 0.8829 MB / 449.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.5556, allocations: 87.41 kB / 449.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5556, allocations: 0 / 449.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.5556, allocations: 15.98 kB / 449.9 MB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.556, allocations: 14.09 kB / 449.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.5581, allocations: 0.8502 MB / 450.7 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.5587, allocations: 0.8263 MB / 451.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.559, allocations: 99.41 kB / 451.6 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.559, allocations: 0 / 451.6 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.73/3.289, allocations: 6.826 MB / 458.5 MB, free: 10 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat