Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.573/2.573, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004512, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3526, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5057, allocations: 80.98 MB / 450.3 MB, free: 9.535 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.5061, allocations: 83.91 kB / 450.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.5195, allocations: 3.23 MB / 453.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5196, allocations: 0 / 453.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5196, allocations: 0 / 453.6 MB, free: 6.215 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.0005929/0.5202, allocations: 444.5 kB / 454.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5203, allocations: 8.031 kB / 454.1 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.5203, allocations: 34.55 kB / 454.1 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.5204, allocations: 19.81 kB / 454.1 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.5207, allocations: 203.5 kB / 454.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5207, allocations: 7.984 kB / 454.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.5207, allocations: 0 / 454.3 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5209, allocations: 45.69 kB / 454.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.521, allocations: 4 kB / 454.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.521, allocations: 7.953 kB / 454.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.521, allocations: 4 kB / 454.4 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.5212, allocations: 27.92 kB / 454.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5217, allocations: 281 kB / 454.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.5219, allocations: 50.56 kB / 454.8 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.522, allocations: 3.953 kB / 454.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.522, allocations: 36.31 kB / 454.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.522, allocations: 0 / 454.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008372/0.5229, allocations: 161.3 kB / 455 MB, free: 4.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.523, allocations: 55.34 kB / 455 MB, free: 4.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.5234, allocations: 221.3 kB / 455.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5234, allocations: 25.7 kB / 455.3 MB, free: 4.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5235, allocations: 174.5 kB / 455.4 MB, free: 4.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.5236, allocations: 11.81 kB / 455.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5236, allocations: 0 / 455.4 MB, free: 4.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5237, allocations: 318.8 kB / 455.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5238, allocations: 19.98 kB / 455.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.524, allocations: 23.98 kB / 455.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5241, allocations: 57.69 kB / 455.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5242, allocations: 0 / 455.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003477/0.5245, allocations: 119.3 kB / 456 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.5246, allocations: 31.73 kB / 456 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5246, allocations: 4.25 kB / 456 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5246, allocations: 3.938 kB / 456 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5247, allocations: 23.92 kB / 456 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5248, allocations: 0 / 456 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.5249, allocations: 11.98 kB / 456 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.5249, allocations: 3.938 kB / 456 MB, free: 3.578 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 (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 0.0001421/0.525, allocations: 129.8 kB / 456.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.5251, allocations: 23.77 kB / 456.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.5255, allocations: 98.66 kB / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5255, allocations: 4 kB / 456.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5255, allocations: 0 / 456.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5255, allocations: 0 / 456.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.5262, allocations: 382.4 kB / 456.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5262, allocations: 0 / 456.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.5263, allocations: 15.98 kB / 456.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5264, allocations: 0 / 456.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5264, allocations: 4 kB / 456.7 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5264, allocations: 8 kB / 456.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5264, allocations: 0 / 456.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.5268, allocations: 183.4 kB / 456.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.5269, allocations: 100.9 kB / 457 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.5269, allocations: 4 kB / 457 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.527, allocations: 12 kB / 457 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5271, allocations: 3.984 kB / 457 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5271, allocations: 4 kB / 457 MB, free: 2.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.5274, allocations: 171.2 kB / 457.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5274, allocations: 0 / 457.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003434/0.5277, allocations: 23.94 kB / 457.2 MB, free: 2.324 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 () * Number of clocked 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.001424/0.5292, allocations: 0.9248 MB / 458.1 MB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.5296, allocations: 115.4 kB / 458.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5296, allocations: 0 / 458.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.5297, allocations: 27.98 kB / 458.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.53, allocations: 8 kB / 458.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.5311, allocations: 0.5218 MB / 458.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.5316, allocations: 0.7121 MB / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5318, allocations: 31.42 kB / 459.5 MB, free: 15.92 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5318, allocations: 4 kB / 459.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.158, allocations: 2.027 MB / 461.5 MB, free: 13.89 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat