Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test9",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.009339/0.00934, allocations: 165.3 kB / 15.11 MB, free: 5.93 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.573/1.573, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001894/0.001894, allocations: 106.5 kB / 226.2 MB, free: 10.09 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.412/0.412, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006201/0.00062, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.0998, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.4905, allocations: 74.35 MB / 486 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4907, allocations: 67.5 kB / 486.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.5055, allocations: 5.105 MB / 491.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5056, allocations: 0 / 491.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.5056, allocations: 15.98 kB / 491.2 MB, free: 8.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006967/0.5063, allocations: 0.6443 MB / 491.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5064, allocations: 8.031 kB / 491.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.5064, allocations: 30.56 kB / 491.9 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.5065, allocations: 43.44 kB / 492 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.507, allocations: 321.7 kB / 492.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.507, allocations: 3.562 kB / 492.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.507, allocations: 0 / 492.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.5072, allocations: 53.55 kB / 492.3 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5072, allocations: 8 kB / 492.3 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.5072, allocations: 3.938 kB / 492.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5073, allocations: 0 / 492.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.5075, allocations: 40.44 kB / 492.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.508, allocations: 426.2 kB / 492.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5082, allocations: 42.05 kB / 492.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.5082, allocations: 0 / 492.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.5083, allocations: 35.94 kB / 492.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5083, allocations: 0 / 492.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000453/0.5087, allocations: 129 kB / 493 MB, free: 6.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.5088, allocations: 55.41 kB / 493 MB, free: 6.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5103, allocations: 0.7704 MB / 493.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.5103, allocations: 25.7 kB / 493.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5105, allocations: 212.1 kB / 494 MB, free: 6.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.5105, allocations: 7.812 kB / 494.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.5105, allocations: 3.875 kB / 494.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.5106, allocations: 362.2 kB / 494.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.5107, allocations: 23.92 kB / 494.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.5108, allocations: 19.98 kB / 494.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.511, allocations: 49.44 kB / 494.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.511, allocations: 3.469 kB / 494.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003137/0.5113, allocations: 135 kB / 494.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5114, allocations: 29.7 kB / 494.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5114, allocations: 8 kB / 494.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5114, allocations: 0 / 494.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.5115, allocations: 15.92 kB / 494.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5115, allocations: 0 / 494.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.5116, allocations: 11.5 kB / 494.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.5117, allocations: 0 / 494.7 MB, free: 5.391 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 (4): * Single equations (assignments): 3 * 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.000197/0.5119, allocations: 210.2 kB / 494.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.512, allocations: 51.42 kB / 495 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.5123, allocations: 125.8 kB / 495.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5123, allocations: 0 / 495.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5123, allocations: 4 kB / 495.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5124, allocations: 0 / 495.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.5127, allocations: 322.1 kB / 495.4 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5127, allocations: 4 kB / 495.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.5128, allocations: 19.86 kB / 495.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5128, allocations: 0 / 495.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5128, allocations: 0 / 495.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5128, allocations: 0 / 495.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5128, allocations: 4 kB / 495.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.5132, allocations: 210.3 kB / 495.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.5134, allocations: 160.3 kB / 495.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.5135, allocations: 4 kB / 495.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5136, allocations: 4 kB / 495.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.5137, allocations: 3.984 kB / 495.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5137, allocations: 4 kB / 495.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008899/0.5146, allocations: 0.6259 MB / 496.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5146, allocations: 0 / 496.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.515, allocations: 51.19 kB / 496.5 MB, free: 3.777 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 (3): * Single equations (assignments): 3 * 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.0009228/0.5159, allocations: 0.8538 MB / 497.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.5162, allocations: 98.5 kB / 497.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5162, allocations: 3.938 kB / 497.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5164, allocations: 31.55 kB / 497.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5167, allocations: 13.72 kB / 497.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.5185, allocations: 1.289 MB / 498.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5189, allocations: 0.8164 MB / 499.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.519, allocations: 36.25 kB / 499.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.5192, allocations: 115.1 kB / 499.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5192, allocations: 0 / 499.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.5473, allocations: 5.754 MB / 0.4936 GB, free: 10.98 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.5476, allocations: 206.5 kB / 0.4938 GB, free: 10.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.947, allocations: 0 / 0.4938 GB, free: 10.74 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat