Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test12.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00954/0.00954, allocations: 166.8 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.551/1.551, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001905/0.001905, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4233/0.4233, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007649/0.0007648, allocations: 8 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1509, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.559, allocations: 74.74 MB / 486.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5593, allocations: 75.25 kB / 486.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.5721, allocations: 3.675 MB / 490.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5722, allocations: 0 / 490.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.5722, allocations: 0 / 490.2 MB, free: 10.09 MB / 330.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.0004134/0.5726, allocations: 418.7 kB / 490.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5727, allocations: 8.031 kB / 490.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.5727, allocations: 42.31 kB / 490.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.5728, allocations: 3.906 kB / 490.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.5729, allocations: 185.3 kB / 490.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.573, allocations: 0 / 490.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.573, allocations: 4 kB / 490.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.5732, allocations: 74.17 kB / 490.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5732, allocations: 0 / 490.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5733, allocations: 11.38 kB / 490.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5733, allocations: 0 / 490.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.5735, allocations: 40.38 kB / 490.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.5738, allocations: 297 kB / 491.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.574, allocations: 46 kB / 491.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5741, allocations: 0 / 491.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.5741, allocations: 34.56 kB / 491.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5741, allocations: 0 / 491.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001103/0.5752, allocations: 236.2 kB / 491.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.5752, allocations: 85.06 kB / 491.6 MB, free: 8.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.5753, allocations: 111.6 kB / 491.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.5754, allocations: 25.7 kB / 491.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.5754, allocations: 103.5 kB / 491.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5755, allocations: 15.66 kB / 491.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.5755, allocations: 10.75 kB / 491.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.5755, allocations: 318.6 kB / 492.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.5757, allocations: 43.84 kB / 492.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.576, allocations: 60.69 kB / 492.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.5762, allocations: 76.06 kB / 492.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5762, allocations: 0 / 492.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004732/0.5767, allocations: 160.6 kB / 492.5 MB, free: 7.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5767, allocations: 33.7 kB / 492.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.5767, allocations: 0 / 492.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5768, allocations: 0 / 492.6 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.577, allocations: 27.17 kB / 492.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.577, allocations: 3.953 kB / 492.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.5771, allocations: 23.83 kB / 492.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5771, allocations: 7.25 kB / 492.6 MB, free: 7.535 MB / 330.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 7.234e-05/0.5772, allocations: 114.7 kB / 492.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.5772, allocations: 4 kB / 492.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.5777, allocations: 138.1 kB / 492.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5778, allocations: 0 / 492.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5778, allocations: 0 / 492.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5778, allocations: 3.953 kB / 492.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.5785, allocations: 406.4 kB / 493.3 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5785, allocations: 0 / 493.3 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.5786, allocations: 19.98 kB / 493.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.5786, allocations: 0 / 493.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5787, allocations: 11.12 kB / 493.3 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5787, allocations: 3.953 kB / 493.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5787, allocations: 0 / 493.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.5792, allocations: 227.7 kB / 493.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.5792, allocations: 89.23 kB / 493.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5792, allocations: 0 / 493.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5794, allocations: 15.23 kB / 493.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.5795, allocations: 15.92 kB / 493.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5795, allocations: 8 kB / 493.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.5795, allocations: 95.97 kB / 493.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5796, allocations: 0 / 493.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.5799, allocations: 35.75 kB / 493.8 MB, free: 6.355 MB / 330.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.001336/0.5812, allocations: 0.9772 MB / 494.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.5817, allocations: 153.3 kB / 494.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5818, allocations: 0 / 494.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.582, allocations: 54.78 kB / 495 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.5822, allocations: 19.81 kB / 495 MB, free: 5.246 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.5847, allocations: 1.111 MB / 496.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.5849, allocations: 0.6965 MB / 496.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.585, allocations: 8 kB / 496.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.585, allocations: 22.23 kB / 496.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5851, allocations: 4 kB / 496.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08815/0.6732, allocations: 2.221 MB / 499 MB, free: 1.535 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.6735, allocations: 208.2 kB / 499.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.915, allocations: 0 / 499.2 MB, free: 1.297 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test12_res.mat does not exist to compare? outputFormat=mat