Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004449, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3702, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5193, allocations: 81.08 MB / 450.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5196, allocations: 75.89 kB / 450.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.5336, allocations: 3.155 MB / 453.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5336, allocations: 0 / 453.7 MB, free: 6.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5337, allocations: 0 / 453.7 MB, free: 6.168 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005823/0.5343, allocations: 420.7 kB / 454.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5343, allocations: 12.03 kB / 454.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.5344, allocations: 34.56 kB / 454.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.5345, allocations: 11.86 kB / 454.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.5347, allocations: 190.9 kB / 454.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5348, allocations: 0 / 454.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.5348, allocations: 8 kB / 454.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.5351, allocations: 79.38 kB / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5351, allocations: 0 / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5351, allocations: 4 kB / 454.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5351, allocations: 11.94 kB / 454.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.5353, allocations: 39.91 kB / 454.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.536, allocations: 385 kB / 454.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.5364, allocations: 98.95 kB / 454.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.5365, allocations: 4 kB / 454.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.5365, allocations: 42.39 kB / 455 MB, free: 4.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.316e-06/0.5366, allocations: 0 / 455 MB, free: 4.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001148/0.5377, allocations: 245.2 kB / 455.2 MB, free: 4.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.5378, allocations: 77.11 kB / 455.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.538, allocations: 136.9 kB / 455.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.538, allocations: 33.58 kB / 455.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.5381, allocations: 154.6 kB / 455.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.5382, allocations: 31.55 kB / 455.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.5382, allocations: 8 kB / 455.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5383, allocations: 314.8 kB / 456 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.5385, allocations: 35.97 kB / 456 MB, free: 3.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.5387, allocations: 39.97 kB / 456 MB, free: 3.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5389, allocations: 73.69 kB / 456.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5389, allocations: 0 / 456.1 MB, free: 3.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004924/0.5394, allocations: 171.3 kB / 456.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.5395, allocations: 29.7 kB / 456.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.5395, allocations: 0 / 456.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5395, allocations: 0 / 456.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5397, allocations: 31.92 kB / 456.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5397, allocations: 0 / 456.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.5398, allocations: 8 kB / 456.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5399, allocations: 4 kB / 456.3 MB, free: 3.223 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 (11): * Single equations (assignments): 10 * 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.0001597/0.54, allocations: 121.8 kB / 456.5 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.5401, allocations: 11.86 kB / 456.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.5407, allocations: 153.8 kB / 456.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5407, allocations: 4 kB / 456.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.5408, allocations: 4 kB / 456.6 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5408, allocations: 0 / 456.6 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5418, allocations: 0.5179 MB / 457.2 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5418, allocations: 3.938 kB / 457.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.542, allocations: 23.98 kB / 457.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.542, allocations: 0 / 457.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5421, allocations: 8.031 kB / 457.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5421, allocations: 4 kB / 457.2 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5421, allocations: 0 / 457.2 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.5426, allocations: 330.9 kB / 457.5 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.5427, allocations: 85.72 kB / 457.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.5427, allocations: 7.938 kB / 457.6 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5429, allocations: 11.98 kB / 457.6 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.543, allocations: 4 kB / 457.6 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.543, allocations: 4 kB / 457.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.5431, allocations: 121 kB / 457.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5432, allocations: 0 / 457.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.5436, allocations: 24 kB / 457.8 MB, free: 1.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001734/0.5454, allocations: 1.208 MB / 459 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.5459, allocations: 147.3 kB / 459.1 MB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.546, allocations: 4 kB / 459.1 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.5462, allocations: 47.97 kB / 459.2 MB, free: 292 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5465, allocations: 19.88 kB / 459.2 MB, free: 272 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.5477, allocations: 0.4906 MB / 459.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.5481, allocations: 0.7004 MB / 460.4 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.5482, allocations: 23.42 kB / 460.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5482, allocations: 4 kB / 460.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.042/3.59, allocations: 1.882 MB / 462.3 MB, free: 13.08 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat does not exist to compare? outputFormat=mat