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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005945/0.0005945, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4036, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.5865, allocations: 74.59 MB / 406 MB, free: 3.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.587, allocations: 71.95 kB / 406 MB, free: 3.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02816/0.6152, allocations: 5.285 MB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6152, allocations: 4 kB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.6153, allocations: 4 kB / 411.3 MB, free: 14.33 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.001306/0.6166, allocations: 0.6366 MB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.6167, allocations: 12.03 kB / 412 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.6168, allocations: 34.56 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.6169, allocations: 39.44 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009164/0.6179, allocations: 319.3 kB / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.6179, allocations: 11.94 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.618, allocations: 4 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.6183, allocations: 61.61 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6183, allocations: 0 / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6183, allocations: 0 / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6184, allocations: 0 / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.6186, allocations: 27.98 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6197, allocations: 428.7 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.6201, allocations: 46.5 kB / 412.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.6202, allocations: 4 kB / 412.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6202, allocations: 34.64 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 3.597e-06/0.6203, allocations: 4 kB / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001351/0.6216, allocations: 243.9 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.6217, allocations: 59.41 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.6246, allocations: 0.7628 MB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.6247, allocations: 29.7 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.625, allocations: 234.6 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.6251, allocations: 19.75 kB / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.6251, allocations: 0 / 414.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6252, allocations: 314.8 kB / 414.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.6255, allocations: 27.98 kB / 414.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.6257, allocations: 27.98 kB / 414.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.6259, allocations: 49.69 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.626, allocations: 0 / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005333/0.6265, allocations: 127.5 kB / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.6266, allocations: 33.64 kB / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6266, allocations: 288 / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.6267, allocations: 0 / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.6269, allocations: 23.94 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6269, allocations: 0 / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.6271, allocations: 15.98 kB / 414.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.6272, allocations: 3.984 kB / 414.9 MB, free: 10.5 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 (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.0004621/0.6276, allocations: 205.8 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.6279, allocations: 47.42 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.6285, allocations: 152.8 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6286, allocations: 0 / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6286, allocations: 3.953 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6286, allocations: 0 / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.6304, allocations: 0.5726 MB / 415.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6305, allocations: 7.938 kB / 415.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.6306, allocations: 15.98 kB / 415.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6307, allocations: 0 / 415.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6307, allocations: 7.953 kB / 415.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6307, allocations: 0 / 415.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.6307, allocations: 4 kB / 415.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.6314, allocations: 215 kB / 416.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.6318, allocations: 156.6 kB / 416.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.6319, allocations: 4 kB / 416.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.6322, allocations: 12.19 kB / 416.3 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.6323, allocations: 4 kB / 416.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6323, allocations: 4 kB / 416.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.6341, allocations: 0.6355 MB / 416.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.447e-06/0.6341, allocations: 0 / 416.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007469/0.6349, allocations: 55.94 kB / 417 MB, free: 8.305 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 (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.001976/0.6369, allocations: 0.8967 MB / 417.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.6375, allocations: 119.3 kB / 418 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6375, allocations: 0 / 418 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.6377, allocations: 31.98 kB / 418 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.6382, allocations: 17.92 kB / 418 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.6421, allocations: 1.364 MB / 419.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.6429, allocations: 0.8262 MB / 420.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.6433, allocations: 99.39 kB / 420.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6433, allocations: 0 / 420.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.308, allocations: 6.832 MB / 427.2 MB, free: 14.03 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat