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/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.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.488/2.488, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.255e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3667, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.5464, allocations: 80.33 MB / 438.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5468, allocations: 67.97 kB / 438.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01331/0.5601, allocations: 3.116 MB / 441.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5602, allocations: 0 / 441.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5602, allocations: 4 kB / 441.6 MB, free: 11.23 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.0005518/0.5607, allocations: 411.9 kB / 442 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5608, allocations: 12.03 kB / 442.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.5609, allocations: 11.86 kB / 442.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.5612, allocations: 194.9 kB / 442.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5612, allocations: 0 / 442.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.5612, allocations: 4 kB / 442.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.5614, allocations: 20 kB / 442.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5615, allocations: 71.33 kB / 442.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5616, allocations: 4 kB / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5616, allocations: 0 / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5616, allocations: 7.953 kB / 442.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.5622, allocations: 361.5 kB / 442.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.5626, allocations: 78.98 kB / 442.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.5627, allocations: 25.72 kB / 442.8 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.5627, allocations: 0 / 442.8 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5627, allocations: 42.64 kB / 442.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5628, allocations: 0 / 442.9 MB, free: 9.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007493/0.5635, allocations: 177.1 kB / 443 MB, free: 9.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.5636, allocations: 81.05 kB / 443.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5638, allocations: 131.3 kB / 443.2 MB, free: 9.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5638, allocations: 29.7 kB / 443.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.5639, allocations: 158.5 kB / 443.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.564, allocations: 31.55 kB / 443.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.564, allocations: 0 / 443.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5641, allocations: 322.8 kB / 443.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.5642, allocations: 23.98 kB / 443.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.5643, allocations: 23.94 kB / 443.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.5644, allocations: 27.98 kB / 443.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5644, allocations: 0 / 443.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.5647, allocations: 105.5 kB / 443.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.5647, allocations: 33.69 kB / 444 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.5648, allocations: 3.953 kB / 444 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5648, allocations: 4 kB / 444 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.565, allocations: 27.92 kB / 444 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.565, allocations: 0 / 444 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.5651, allocations: 8 kB / 444 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.5651, allocations: 0 / 444 MB, free: 8.609 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 (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 8.826e-05/0.5652, allocations: 107 kB / 444.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002666/0.5655, allocations: 101.5 kB / 444.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.5655, allocations: 11.86 kB / 444.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.5659, allocations: 125.9 kB / 444.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.5659, allocations: 4 kB / 444.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5659, allocations: 0 / 444.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.566, allocations: 0 / 444.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.5667, allocations: 459 kB / 444.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5668, allocations: 448 / 444.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.5669, allocations: 28.03 kB / 444.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5669, allocations: 4.312 kB / 444.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.567, allocations: 8 kB / 444.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.567, allocations: 0 / 444.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.567, allocations: 3.938 kB / 444.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.5673, allocations: 303 kB / 445.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.5674, allocations: 85.02 kB / 445.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5675, allocations: 0 / 445.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5676, allocations: 11.92 kB / 445.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.5677, allocations: 11.98 kB / 445.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5677, allocations: 4 kB / 445.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.5678, allocations: 111.2 kB / 445.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5679, allocations: 4 kB / 445.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.5683, allocations: 23.94 kB / 445.4 MB, free: 7.113 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 () * 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.001381/0.5697, allocations: 1.108 MB / 446.5 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.57, allocations: 119.3 kB / 446.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.57, allocations: 3.938 kB / 446.6 MB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5701, allocations: 39.92 kB / 446.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5705, allocations: 11.95 kB / 446.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.5713, allocations: 225.3 kB / 446.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.5717, allocations: 0.7041 MB / 447.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5718, allocations: 31.42 kB / 447.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5718, allocations: 0 / 447.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.742/3.314, allocations: 1.905 MB / 449.5 MB, free: 2.879 MB / 378.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