Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test4",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.01084/0.01084, allocations: 104.7 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.001192/0.001192, allocations: 171.7 kB / 15.93 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.794/1.794, 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.2838/0.2838, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004515, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09277, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002297/0.09512, allocations: 1.214 MB / 373.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.09588, allocations: 259.8 kB / 373.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.09595, allocations: 0 / 373.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.09668, allocations: 439.2 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.09713, allocations: 223.6 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.09732, allocations: 39.83 kB / 374.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.09756, allocations: 107.8 kB / 374.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.09768, allocations: 15.97 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.09784, allocations: 99.8 kB / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.09814, allocations: 139.7 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.09818, allocations: 4 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.09829, allocations: 15.98 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.09841, allocations: 71.77 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.09849, allocations: 65.52 kB / 375 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.0988, allocations: 183.7 kB / 375.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09881, allocations: 0 / 375.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09882, allocations: 0 / 375.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.09884, allocations: 0 / 375.1 MB, free: 9.969 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.0008862/0.09974, allocations: 0.597 MB / 375.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.09979, allocations: 15.97 kB / 375.8 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.09984, allocations: 34.55 kB / 375.8 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.09992, allocations: 39.44 kB / 375.8 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1003, allocations: 267.4 kB / 376.1 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1003, allocations: 8 kB / 376.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1003, allocations: 0 / 376.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1005, allocations: 57.67 kB / 376.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1006, allocations: 3.938 kB / 376.2 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1006, allocations: 0 / 376.2 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1006, allocations: 0 / 376.2 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1008, allocations: 27.98 kB / 376.2 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.1014, allocations: 388.7 kB / 376.6 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1017, allocations: 46.5 kB / 376.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1017, allocations: 0 / 376.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1018, allocations: 38.56 kB / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.1018, allocations: 0 / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008997/0.1027, allocations: 236.2 kB / 376.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1027, allocations: 51.41 kB / 376.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.104, allocations: 0.8572 MB / 377.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1041, allocations: 29.64 kB / 377.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1043, allocations: 216 kB / 378 MB, free: 6.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1044, allocations: 7.812 kB / 378 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.1044, allocations: 8 kB / 378 MB, free: 6.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1046, allocations: 358.8 kB / 378.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1048, allocations: 27.98 kB / 378.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1049, allocations: 23.98 kB / 378.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1051, allocations: 53.69 kB / 378.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1051, allocations: 0 / 378.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004209/0.1055, allocations: 155.1 kB / 378.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.1056, allocations: 33.7 kB / 378.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1056, allocations: 4 kB / 378.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1056, allocations: 0 / 378.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1058, allocations: 15.98 kB / 378.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1058, allocations: 0 / 378.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1059, allocations: 11.94 kB / 378.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.1059, allocations: 15.94 kB / 378.7 MB, free: 6.129 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.0002801/0.1062, allocations: 202.8 kB / 378.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.1063, allocations: 43.44 kB / 379 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.1068, allocations: 144.9 kB / 379.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1068, allocations: 7.984 kB / 379.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1068, allocations: 0 / 379.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1068, allocations: 0 / 379.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.1076, allocations: 454.5 kB / 379.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1076, allocations: 4 kB / 379.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1078, allocations: 15.98 kB / 379.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1078, allocations: 3.938 kB / 379.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1078, allocations: 0 / 379.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1078, allocations: 4 kB / 379.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1078, allocations: 3.984 kB / 379.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1082, allocations: 227.2 kB / 379.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.1084, allocations: 108.6 kB / 379.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1084, allocations: 3.984 kB / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1086, allocations: 8.188 kB / 379.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1086, allocations: 7.984 kB / 379.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1086, allocations: 4 kB / 379.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009783/0.1096, allocations: 0.6472 MB / 380.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1097, allocations: 0 / 380.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.11, allocations: 27.98 kB / 380.6 MB, free: 4.137 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.001355/0.1114, allocations: 0.9003 MB / 381.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.1118, allocations: 111.4 kB / 381.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1118, allocations: 4 kB / 381.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.112, allocations: 27.92 kB / 381.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1123, allocations: 21.95 kB / 381.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1146, allocations: 1.229 MB / 382.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1151, allocations: 0.8223 MB / 383.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.1152, allocations: 8.188 kB / 383.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.1154, allocations: 91.41 kB / 383.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1154, allocations: 0 / 383.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.1476, allocations: 4.943 MB / 388.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.148, allocations: 246.8 kB / 389 MB, free: 11.69 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/2.739, allocations: 0 / 389 MB, free: 11.69 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat