Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006268/0.0006268, allocations: 19.92 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3617, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.496, allocations: 75.51 MB / 406.9 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4963, allocations: 67.95 kB / 406.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02218/0.5185, allocations: 5.265 MB / 412.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5186, allocations: 4 kB / 412.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.5186, allocations: 4 kB / 412.2 MB, free: 13.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009471/0.5196, allocations: 0.6974 MB / 412.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5196, allocations: 8.031 kB / 412.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.5197, allocations: 34.56 kB / 413 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.5198, allocations: 35.61 kB / 413 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.5204, allocations: 291 kB / 413.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5204, allocations: 8 kB / 413.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.5204, allocations: 8 kB / 413.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.5207, allocations: 81.61 kB / 413.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5207, allocations: 0 / 413.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.5208, allocations: 4 kB / 413.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5208, allocations: 0 / 413.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.521, allocations: 55.97 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.5218, allocations: 424.5 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.522, allocations: 58.56 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.5221, allocations: 7.984 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5221, allocations: 34.5 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 5.28e-06/0.5221, allocations: 7.984 kB / 413.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005013/0.5226, allocations: 141.3 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5227, allocations: 51.41 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007869/0.5235, allocations: 420.9 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5235, allocations: 29.7 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5237, allocations: 218.3 kB / 414.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.5238, allocations: 19.75 kB / 414.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.5238, allocations: 4 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5239, allocations: 314.8 kB / 415.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5241, allocations: 27.98 kB / 415.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5242, allocations: 31.92 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.5244, allocations: 164.5 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5245, allocations: 0 / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004517/0.5249, allocations: 250 kB / 415.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.5251, allocations: 140.5 kB / 415.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5251, allocations: 0 / 415.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.5251, allocations: 0 / 415.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.5253, allocations: 12 kB / 415.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.5253, allocations: 7.938 kB / 415.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5255, allocations: 15.84 kB / 415.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5255, allocations: 8 kB / 415.8 MB, free: 9.555 MB / 346.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): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.0002546/0.5258, allocations: 158.3 kB / 415.9 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5259, allocations: 23.72 kB / 415.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.5263, allocations: 140.2 kB / 416.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5264, allocations: 0 / 416.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5264, allocations: 320 / 416.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5264, allocations: 7.953 kB / 416.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.5268, allocations: 273.5 kB / 416.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5268, allocations: 4 kB / 416.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5269, allocations: 12 kB / 416.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5269, allocations: 0 / 416.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.527, allocations: 0 / 416.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.527, allocations: 0 / 416.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.527, allocations: 0 / 416.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.5274, allocations: 215 kB / 416.6 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.5275, allocations: 132.7 kB / 416.7 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.5276, allocations: 0 / 416.7 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5277, allocations: 4 kB / 416.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.5278, allocations: 0 / 416.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5278, allocations: 7.938 kB / 416.7 MB, free: 8.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005744/0.5284, allocations: 339.1 kB / 417.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5284, allocations: 4 kB / 417.1 MB, free: 8.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.5288, allocations: 63.86 kB / 417.1 MB, free: 8.098 MB / 346.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 (6): * Single equations (assignments): 6 * 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.0018/0.5307, allocations: 1.076 MB / 418.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.5312, allocations: 341 kB / 418.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5312, allocations: 0 / 418.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.5313, allocations: 31.92 kB / 418.6 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.5318, allocations: 29.42 kB / 418.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.5336, allocations: 0.8865 MB / 419.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.5341, allocations: 0.7746 MB / 420.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.5343, allocations: 83.39 kB / 420.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5344, allocations: 0 / 420.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.276, allocations: 4.318 MB / 424.6 MB, free: 488 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat does not exist to compare? outputFormat=mat