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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.000597, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3385, allocations: 48.69 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4717, allocations: 74.52 MB / 405.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.472, allocations: 71.91 kB / 406 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.4918, allocations: 5.339 MB / 411.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4919, allocations: 0 / 411.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.4919, allocations: 4 kB / 411.3 MB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001018/0.493, allocations: 0.6588 MB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.493, allocations: 8.031 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.4931, allocations: 30.56 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4932, allocations: 39.53 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.4938, allocations: 323.3 kB / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.4939, allocations: 0 / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.4939, allocations: 8 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.4942, allocations: 61.61 kB / 412.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4942, allocations: 4 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4942, allocations: 4 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4942, allocations: 0 / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.4945, allocations: 39.97 kB / 412.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.4953, allocations: 444.5 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4955, allocations: 46.55 kB / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4956, allocations: 0 / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4956, allocations: 34.56 kB / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.4956, allocations: 0 / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.00137/0.497, allocations: 327.9 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.4971, allocations: 51.41 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.499, allocations: 0.7667 MB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.499, allocations: 29.7 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.4993, allocations: 230.6 kB / 414.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4993, allocations: 23.66 kB / 414.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.4994, allocations: 3.938 kB / 414.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4995, allocations: 318.8 kB / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.4998, allocations: 47.91 kB / 414.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5, allocations: 43.97 kB / 414.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.5003, allocations: 69.77 kB / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5003, allocations: 0 / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005597/0.5009, allocations: 155.2 kB / 415 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.5009, allocations: 41.69 kB / 415.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5009, allocations: 0 / 415.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.501, allocations: 3.953 kB / 415.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.5012, allocations: 24.27 kB / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5012, allocations: 0 / 415.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5014, allocations: 11.98 kB / 415.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.5014, allocations: 4 kB / 415.1 MB, free: 10.31 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 (8): * Single equations (assignments): 7 * 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.0003475/0.5018, allocations: 217.7 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5019, allocations: 35.53 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.5026, allocations: 189.3 kB / 415.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5027, allocations: 0 / 415.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5027, allocations: 7.891 kB / 415.5 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5027, allocations: 4 kB / 415.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5041, allocations: 0.6271 MB / 416.2 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5041, allocations: 4 kB / 416.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.5043, allocations: 23.97 kB / 416.2 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5043, allocations: 0 / 416.2 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.5044, allocations: 11.95 kB / 416.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5044, allocations: 0 / 416.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5044, allocations: 0 / 416.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.505, allocations: 259.4 kB / 416.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.5053, allocations: 160.5 kB / 416.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5054, allocations: 0 / 416.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.5056, allocations: 19.94 kB / 416.6 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.5057, allocations: 0 / 416.6 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.5057, allocations: 4 kB / 416.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.5069, allocations: 0.6276 MB / 417.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5069, allocations: 0 / 417.3 MB, free: 8.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004404/0.5074, allocations: 59.94 kB / 417.3 MB, free: 7.969 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 (7): * Single equations (assignments): 7 * 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.001606/0.509, allocations: 0.9479 MB / 418.3 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.5095, allocations: 143.3 kB / 418.4 MB, free: 6.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5096, allocations: 4 kB / 418.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.5098, allocations: 55.91 kB / 418.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.5102, allocations: 21.92 kB / 418.5 MB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.513, allocations: 1.384 MB / 419.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.5136, allocations: 0.8223 MB / 420.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.5139, allocations: 107.6 kB / 420.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5139, allocations: 0 / 420.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.797/3.311, allocations: 6.942 MB / 427.7 MB, free: 13.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat