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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.357e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3626, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5069, allocations: 80.28 MB / 438.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5073, allocations: 71.91 kB / 438.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.527, allocations: 5.381 MB / 443.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5271, allocations: 0 / 443.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.5271, allocations: 12 kB / 443.9 MB, free: 8.992 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.0008154/0.528, allocations: 0.5732 MB / 444.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.528, allocations: 11.97 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.5281, allocations: 39.53 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.5288, allocations: 315.3 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5288, allocations: 0 / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5288, allocations: 3.984 kB / 444.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.962e-05/0.529, allocations: 19.98 kB / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.5291, allocations: 45.66 kB / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5291, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.5291, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5291, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.5299, allocations: 401.3 kB / 445.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.5301, allocations: 46.52 kB / 445.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.5302, allocations: 8.859 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.5302, allocations: 0 / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5303, allocations: 32.38 kB / 445.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5303, allocations: 3.938 kB / 445.3 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000636/0.5309, allocations: 184.2 kB / 445.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.531, allocations: 55.41 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.5329, allocations: 0.7355 MB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.5329, allocations: 25.7 kB / 446.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.5332, allocations: 238.5 kB / 446.6 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.5332, allocations: 15.72 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.5332, allocations: 0 / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5334, allocations: 314.8 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.5334, allocations: 12 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.5335, allocations: 15.94 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.5336, allocations: 15.98 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5336, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001804/0.5338, allocations: 65.64 kB / 447 MB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.5338, allocations: 29.7 kB / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5338, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5339, allocations: 0 / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.534, allocations: 16.25 kB / 447.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.5341, allocations: 7.984 kB / 447.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.5342, allocations: 11.94 kB / 447.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5342, allocations: 0 / 447.1 MB, free: 5.574 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.881e-05/0.5343, allocations: 107 kB / 447.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002401/0.5346, allocations: 101.1 kB / 447.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5347, allocations: 43.38 kB / 447.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.5351, allocations: 117.3 kB / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5351, allocations: 0 / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5351, allocations: 0 / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5351, allocations: 0 / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.5362, allocations: 0.5301 MB / 448 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5363, allocations: 3.984 kB / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.5364, allocations: 12 kB / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5364, allocations: 0 / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5364, allocations: 0 / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5365, allocations: 4 kB / 448 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5365, allocations: 0 / 448 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5368, allocations: 198.9 kB / 448.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.5371, allocations: 156.6 kB / 448.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.5371, allocations: 0 / 448.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.5373, allocations: 12.23 kB / 448.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.5374, allocations: 0 / 448.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5374, allocations: 12 kB / 448.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.5385, allocations: 0.5965 MB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5385, allocations: 0 / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004983/0.539, allocations: 55.94 kB / 449 MB, free: 3.547 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.00123/0.5403, allocations: 0.8743 MB / 449.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.5405, allocations: 95.33 kB / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5405, allocations: 0 / 450 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.202e-05/0.5406, allocations: 16 kB / 450 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.541, allocations: 14.09 kB / 450 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.5431, allocations: 0.8386 MB / 450.8 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.5437, allocations: 0.8263 MB / 451.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.544, allocations: 107.3 kB / 451.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.544, allocations: 0 / 451.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.661/3.205, allocations: 6.818 MB / 458.6 MB, free: 9.879 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat