Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test20.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00962/0.00962, allocations: 175.2 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.017/2.017, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001953/0.001953, allocations: 116.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2697/0.2697, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007294/0.0007296, allocations: 13.84 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1271, allocations: 54.87 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.2806, allocations: 82.19 MB / 0.5306 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.2809, allocations: 71.97 kB / 0.5307 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4235/0.7044, allocations: 6.456 MB / 0.537 GB, free: 82.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7045, allocations: 5.406 kB / 0.537 GB, free: 82.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.7045, allocations: 6.172 kB / 0.537 GB, free: 82.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008977/0.7054, allocations: 0.7252 MB / 0.5377 GB, free: 81.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7055, allocations: 8.75 kB / 0.5377 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.7055, allocations: 43.67 kB / 0.5377 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.7056, allocations: 36.5 kB / 0.5378 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.7062, allocations: 293.8 kB / 0.538 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.7062, allocations: 8.906 kB / 0.5381 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.7063, allocations: 31.86 kB / 0.5381 GB, free: 81.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.7066, allocations: 109 kB / 0.5382 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.7066, allocations: 1.984 kB / 0.5382 GB, free: 81.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.7067, allocations: 8.75 kB / 0.5382 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7067, allocations: 2.375 kB / 0.5382 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.707, allocations: 72.38 kB / 0.5383 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.7078, allocations: 477 kB / 0.5387 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.7081, allocations: 97.38 kB / 0.5388 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.7081, allocations: 7.297 kB / 0.5388 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.7081, allocations: 39.44 kB / 0.5389 GB, free: 81.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.7081, allocations: 0 / 0.5389 GB, free: 81.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001403/0.7096, allocations: 397.7 kB / 0.5392 GB, free: 81.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.7096, allocations: 55.12 kB / 0.5393 GB, free: 80.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.7103, allocations: 422.6 kB / 0.5397 GB, free: 80.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7103, allocations: 30.45 kB / 0.5397 GB, free: 80.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.7105, allocations: 175.9 kB / 0.5399 GB, free: 80.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.7105, allocations: 57.59 kB / 0.54 GB, free: 80.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.7106, allocations: 4.406 kB / 0.54 GB, free: 80.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7107, allocations: 346.6 kB / 0.5403 GB, free: 80.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.7109, allocations: 65.02 kB / 0.5403 GB, free: 80.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.7112, allocations: 61.88 kB / 0.5404 GB, free: 80.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.7115, allocations: 210 kB / 0.5406 GB, free: 80.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7115, allocations: 7.938 kB / 0.5406 GB, free: 80.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007069/0.7122, allocations: 356.8 kB / 0.541 GB, free: 79.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.7123, allocations: 145.9 kB / 0.5411 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7123, allocations: 0 / 0.5411 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7123, allocations: 1.438 kB / 0.5411 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.7126, allocations: 35.95 kB / 0.5411 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7126, allocations: 5.25 kB / 0.5411 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.7128, allocations: 11.44 kB / 0.5411 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.7128, allocations: 6.844 kB / 0.5412 GB, free: 79.82 MB / 378.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 (22): * Single equations (assignments): 17 * 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.0002094/0.713, allocations: 169.5 kB / 0.5413 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.7131, allocations: 37.44 kB / 0.5414 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.7139, allocations: 261 kB / 0.5416 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7139, allocations: 2.156 kB / 0.5416 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7139, allocations: 0 / 0.5416 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7139, allocations: 4.938 kB / 0.5416 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.7152, allocations: 0.651 MB / 0.5422 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7153, allocations: 4.812 kB / 0.5422 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.7155, allocations: 36.88 kB / 0.5423 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.7155, allocations: 1 kB / 0.5423 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.7155, allocations: 9.062 kB / 0.5423 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7155, allocations: 4 kB / 0.5423 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7156, allocations: 0 / 0.5423 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.7162, allocations: 309.3 kB / 0.5426 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.7163, allocations: 123.3 kB / 0.5427 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.7164, allocations: 6.5 kB / 0.5427 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.7166, allocations: 15.44 kB / 0.5427 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.7166, allocations: 10.92 kB / 0.5427 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.7167, allocations: 6.344 kB / 0.5427 GB, free: 79.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005497/0.7172, allocations: 339.5 kB / 0.5431 GB, free: 78.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7172, allocations: 0 / 0.5431 GB, free: 78.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.7178, allocations: 93.47 kB / 0.5432 GB, free: 78.92 MB / 378.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 (17): * Single equations (assignments): 17 * 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.002745/0.7205, allocations: 1.513 MB / 0.5446 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.7211, allocations: 428.9 kB / 0.545 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7212, allocations: 1.375 kB / 0.545 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.7214, allocations: 83.48 kB / 0.5451 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.7219, allocations: 39.16 kB / 0.5452 GB, free: 77.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.7237, allocations: 0.9928 MB / 0.5461 GB, free: 76.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.724, allocations: 0.7801 MB / 0.5469 GB, free: 75.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.7242, allocations: 54.36 kB / 0.5469 GB, free: 75.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.7244, allocations: 99.64 kB / 0.547 GB, free: 75.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7244, allocations: 0 / 0.547 GB, free: 75.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.7541, allocations: 5.953 MB / 0.5529 GB, free: 72.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/0.7544, allocations: 214.6 kB / 0.5531 GB, free: 72.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.471, allocations: 0 / 0.5531 GB, free: 72.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat