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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.725e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.343, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.5389, allocations: 80.24 MB / 438.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5392, allocations: 67.97 kB / 438.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.5527, allocations: 3.151 MB / 441.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5527, allocations: 0 / 441.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5527, allocations: 0 / 441.6 MB, free: 11.26 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.0005398/0.5533, allocations: 415.9 kB / 442 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5534, allocations: 8.031 kB / 442 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.5534, allocations: 11.86 kB / 442 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.5537, allocations: 198.9 kB / 442.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5538, allocations: 7.984 kB / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5538, allocations: 4 kB / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.993e-05/0.5539, allocations: 12 kB / 442.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.554, allocations: 41.69 kB / 442.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.554, allocations: 4 kB / 442.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5541, allocations: 0 / 442.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5541, allocations: 3.953 kB / 442.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.5546, allocations: 273.4 kB / 442.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.5549, allocations: 38.56 kB / 442.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.5549, allocations: 16.86 kB / 442.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.555, allocations: 4 kB / 442.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.555, allocations: 36.31 kB / 442.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.555, allocations: 0 / 442.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005664/0.5556, allocations: 121.3 kB / 442.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5556, allocations: 51.41 kB / 442.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.5559, allocations: 197.2 kB / 443 MB, free: 9.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.556, allocations: 25.7 kB / 443 MB, free: 9.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.5561, allocations: 162.6 kB / 443.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.5561, allocations: 15.75 kB / 443.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5561, allocations: 0 / 443.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5563, allocations: 318.8 kB / 443.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.5564, allocations: 12 kB / 443.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.5564, allocations: 16 kB / 443.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.5565, allocations: 15.98 kB / 443.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5565, allocations: 4 kB / 443.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001744/0.5567, allocations: 65.62 kB / 443.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.5567, allocations: 33.64 kB / 443.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5567, allocations: 0 / 443.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5568, allocations: 0 / 443.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5569, allocations: 23.94 kB / 443.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5569, allocations: 0 / 443.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.557, allocations: 8 kB / 443.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.5571, allocations: 0 / 443.7 MB, free: 8.953 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.144e-05/0.5571, allocations: 105 kB / 443.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001821/0.5573, allocations: 77.42 kB / 443.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.5574, allocations: 11.91 kB / 443.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.5576, allocations: 86.02 kB / 444 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5577, allocations: 0 / 444 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5577, allocations: 4 kB / 444 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5577, allocations: 0 / 444 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.5582, allocations: 331.1 kB / 444.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5583, allocations: 0 / 444.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.5584, allocations: 16.42 kB / 444.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5584, allocations: 3.953 kB / 444.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5584, allocations: 4 kB / 444.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5584, allocations: 4 kB / 444.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5584, allocations: 0 / 444.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5587, allocations: 163.5 kB / 444.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.5588, allocations: 96.91 kB / 444.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.5588, allocations: 3.953 kB / 444.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.559, allocations: 4 kB / 444.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.559, allocations: 7.984 kB / 444.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.5591, allocations: 3.938 kB / 444.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001997/0.5593, allocations: 155.2 kB / 444.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5593, allocations: 0 / 444.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.5597, allocations: 20 kB / 444.8 MB, free: 7.781 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.001216/0.5609, allocations: 0.849 MB / 445.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.5611, allocations: 95.27 kB / 445.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5612, allocations: 0 / 445.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.5612, allocations: 20.12 kB / 445.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.5615, allocations: 12.06 kB / 445.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.5623, allocations: 251.5 kB / 446 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.5627, allocations: 0.7119 MB / 446.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.5628, allocations: 27.42 kB / 446.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of SimCode: time 3.216e-05/0.5629, allocations: 0 / 446.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.929/3.491, allocations: 1.965 MB / 448.7 MB, free: 3.789 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat does not exist to compare? outputFormat=mat