Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01095/0.01095, allocations: 105.1 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001189/0.001189, allocations: 173.6 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.64/1.64, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.4201/0.4201, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004658, allocations: 16 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09514, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002248/0.09743, allocations: 1.214 MB / 373.5 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.09812, allocations: 267.8 kB / 373.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.09819, allocations: 0 / 373.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.0989, allocations: 431.2 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.09932, allocations: 235.5 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.09948, allocations: 35.84 kB / 374.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.09971, allocations: 103.8 kB / 374.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.09982, allocations: 11.98 kB / 374.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.09998, allocations: 99.78 kB / 374.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.1003, allocations: 155.7 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1003, allocations: 0 / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.1004, allocations: 12 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1005, allocations: 75.75 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1006, allocations: 69.45 kB / 375 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1009, allocations: 167.8 kB / 375.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1009, allocations: 0 / 375.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1009, allocations: 0 / 375.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1009, allocations: 0 / 375.1 MB, free: 9.992 MB / 282.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.0008824/0.1018, allocations: 0.6048 MB / 375.7 MB, free: 9.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1019, allocations: 8.031 kB / 375.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1019, allocations: 30.56 kB / 375.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.102, allocations: 47.38 kB / 375.8 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1024, allocations: 267.4 kB / 376.1 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1024, allocations: 4 kB / 376.1 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1025, allocations: 8 kB / 376.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1026, allocations: 57.61 kB / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1027, allocations: 0 / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1027, allocations: 0 / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1027, allocations: 0 / 376.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1029, allocations: 31.98 kB / 376.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.1035, allocations: 380.7 kB / 376.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1037, allocations: 54.5 kB / 376.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1038, allocations: 0 / 376.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1038, allocations: 30.56 kB / 376.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1038, allocations: 3.938 kB / 376.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008895/0.1047, allocations: 248.2 kB / 376.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1048, allocations: 51.41 kB / 376.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.1061, allocations: 0.8533 MB / 377.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1061, allocations: 29.7 kB / 377.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.1064, allocations: 216 kB / 378 MB, free: 6.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1064, allocations: 15.81 kB / 378 MB, free: 6.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1064, allocations: 0 / 378 MB, free: 6.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1066, allocations: 358.8 kB / 378.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1068, allocations: 23.98 kB / 378.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1069, allocations: 31.98 kB / 378.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1071, allocations: 49.69 kB / 378.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1071, allocations: 0 / 378.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004132/0.1075, allocations: 150.8 kB / 378.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.1076, allocations: 37.7 kB / 378.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1076, allocations: 3.984 kB / 378.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1076, allocations: 0 / 378.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1078, allocations: 16 kB / 378.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1078, allocations: 0 / 378.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1079, allocations: 11.98 kB / 378.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1079, allocations: 3.953 kB / 378.7 MB, free: 6.152 MB / 282.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.0002985/0.1082, allocations: 214.8 kB / 378.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.1083, allocations: 39.44 kB / 379 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.1088, allocations: 152.8 kB / 379.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1088, allocations: 0 / 379.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1088, allocations: 0 / 379.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1088, allocations: 0 / 379.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.1096, allocations: 462.4 kB / 379.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1097, allocations: 0 / 379.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1098, allocations: 16.31 kB / 379.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1098, allocations: 4 kB / 379.6 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1098, allocations: 4 kB / 379.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1098, allocations: 4 kB / 379.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1098, allocations: 0 / 379.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1103, allocations: 226.9 kB / 379.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1104, allocations: 112.6 kB / 379.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1104, allocations: 0 / 379.9 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1106, allocations: 7.984 kB / 379.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1106, allocations: 4 kB / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1106, allocations: 0 / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009897/0.1117, allocations: 0.6471 MB / 380.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1117, allocations: 0 / 380.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.112, allocations: 31.94 kB / 380.6 MB, free: 4.152 MB / 282.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.001427/0.1135, allocations: 0.8969 MB / 381.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.1139, allocations: 107.4 kB / 381.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1139, allocations: 0 / 381.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.114, allocations: 39.92 kB / 381.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1144, allocations: 17.95 kB / 381.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.1166, allocations: 1.222 MB / 382.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.1172, allocations: 0.8262 MB / 383.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.1173, allocations: 12.17 kB / 383.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1175, allocations: 99.39 kB / 383.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1175, allocations: 0 / 383.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1453, allocations: 4.934 MB / 388.8 MB, free: 12 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/0.1457, allocations: 246.8 kB / 389 MB, free: 11.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/2.634, allocations: 0 / 389 MB, free: 11.71 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat