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.Test16.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.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.222e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3505, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.5266, allocations: 80.23 MB / 438.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5269, allocations: 67.95 kB / 438.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.5398, allocations: 3.112 MB / 441.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5398, allocations: 0 / 441.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.5399, allocations: 4 kB / 441.5 MB, free: 11.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004953/0.5404, allocations: 404 kB / 441.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5404, allocations: 12.03 kB / 441.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.5405, allocations: 11.86 kB / 442 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.5408, allocations: 196.6 kB / 442.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5408, allocations: 0 / 442.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5408, allocations: 4 kB / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.684e-05/0.541, allocations: 15.94 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.5411, allocations: 41.69 kB / 442.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5411, allocations: 0 / 442.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5411, allocations: 0 / 442.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5411, allocations: 3.953 kB / 442.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.5416, allocations: 269.5 kB / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5418, allocations: 42.56 kB / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.5419, allocations: 12.8 kB / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.5419, allocations: 0 / 442.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5419, allocations: 40.38 kB / 442.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.542, allocations: 0 / 442.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005117/0.5425, allocations: 113.3 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5425, allocations: 51.41 kB / 442.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5428, allocations: 178.2 kB / 442.9 MB, free: 9.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5428, allocations: 25.7 kB / 442.9 MB, free: 9.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.5429, allocations: 166.6 kB / 443.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.543, allocations: 15.75 kB / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.543, allocations: 0 / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5431, allocations: 314.8 kB / 443.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.5432, allocations: 16 kB / 443.4 MB, free: 9.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.5432, allocations: 12 kB / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.5433, allocations: 15.98 kB / 443.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5433, allocations: 0 / 443.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.5435, allocations: 69.84 kB / 443.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.5435, allocations: 37.64 kB / 443.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5435, allocations: 4 kB / 443.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.5436, allocations: 0 / 443.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.5437, allocations: 23.94 kB / 443.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5437, allocations: 0 / 443.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.5438, allocations: 4 kB / 443.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.5438, allocations: 4 kB / 443.6 MB, free: 9.047 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.089e-05/0.5439, allocations: 108.9 kB / 443.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001651/0.5441, allocations: 69.53 kB / 443.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.5442, allocations: 11.91 kB / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.5444, allocations: 86.03 kB / 443.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5444, allocations: 144 / 443.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5444, allocations: 3.938 kB / 443.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5444, allocations: 3.984 kB / 443.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.5449, allocations: 323.1 kB / 444.2 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5449, allocations: 0 / 444.2 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5451, allocations: 23.98 kB / 444.2 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5451, allocations: 3.953 kB / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5451, allocations: 0 / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5451, allocations: 0 / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5451, allocations: 0 / 444.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.5453, allocations: 167.4 kB / 444.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.5454, allocations: 85.27 kB / 444.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.5455, allocations: 7.938 kB / 444.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5456, allocations: 16 kB / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.5457, allocations: 0 / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5457, allocations: 4 kB / 444.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.5458, allocations: 143.1 kB / 444.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5459, allocations: 0 / 444.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.5462, allocations: 23.89 kB / 444.7 MB, free: 7.891 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.001109/0.5473, allocations: 0.8467 MB / 445.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.5475, allocations: 91.34 kB / 445.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5476, allocations: 0 / 445.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.5477, allocations: 19.98 kB / 445.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.5479, allocations: 7.953 kB / 445.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.5486, allocations: 239.3 kB / 445.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.549, allocations: 0.7041 MB / 446.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.5491, allocations: 27.42 kB / 446.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5491, allocations: 0 / 446.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.223, allocations: 1.87 MB / 448.5 MB, free: 4.023 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat