Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test6",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.009791/0.009791, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.554/1.554, 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.001962/0.001962, 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.4166/0.4166, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.000462, allocations: 16 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09956, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.481, allocations: 74.48 MB / 486.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4812, allocations: 67.66 kB / 486.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.4977, allocations: 5.244 MB / 491.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4978, allocations: 0 / 491.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.4978, allocations: 4 kB / 491.5 MB, free: 8.145 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.0009567/0.4988, allocations: 0.6606 MB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4989, allocations: 8.031 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.4989, allocations: 33.81 kB / 492.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.499, allocations: 47.61 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.4997, allocations: 321.2 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4998, allocations: 2.562 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.4998, allocations: 4 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.5001, allocations: 67.5 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5001, allocations: 0 / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5001, allocations: 0 / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5001, allocations: 1.031 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.5004, allocations: 42.66 kB / 492.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.5013, allocations: 442.4 kB / 493.1 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.5015, allocations: 46.06 kB / 493.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.5015, allocations: 0 / 493.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5016, allocations: 31.81 kB / 493.2 MB, free: 6.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.5016, allocations: 7.984 kB / 493.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.00154/0.5031, allocations: 323.5 kB / 493.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5032, allocations: 55.16 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.5054, allocations: 0.7673 MB / 494.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5055, allocations: 29.02 kB / 494.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5057, allocations: 211 kB / 494.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.5058, allocations: 25.84 kB / 494.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5058, allocations: 0 / 494.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5059, allocations: 355.2 kB / 494.9 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5062, allocations: 45.84 kB / 495 MB, free: 4.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.5066, allocations: 42.28 kB / 495 MB, free: 4.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.507, allocations: 80.62 kB / 495.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.507, allocations: 0 / 495.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008796/0.5079, allocations: 192.5 kB / 495.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.5079, allocations: 33.7 kB / 495.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.508, allocations: 0 / 495.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.508, allocations: 3.953 kB / 495.3 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.5083, allocations: 27.23 kB / 495.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5083, allocations: 0 / 495.3 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.5086, allocations: 11.98 kB / 495.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.5087, allocations: 8 kB / 495.3 MB, free: 4.492 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 0.0004252/0.5091, allocations: 220.5 kB / 495.6 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5093, allocations: 35.53 kB / 495.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5103, allocations: 186.9 kB / 495.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5104, allocations: 0 / 495.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.5104, allocations: 6.516 kB / 495.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5104, allocations: 0 / 495.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5124, allocations: 0.6307 MB / 496.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5125, allocations: 4 kB / 496.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.5127, allocations: 19.98 kB / 496.4 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.5128, allocations: 4 kB / 496.4 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5128, allocations: 7.953 kB / 496.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5128, allocations: 0 / 496.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5129, allocations: 0 / 496.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.5139, allocations: 261.6 kB / 496.7 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.5142, allocations: 157.7 kB / 496.9 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5144, allocations: 0 / 496.9 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.5148, allocations: 19.94 kB / 496.9 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.5149, allocations: 3.984 kB / 496.9 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.5149, allocations: 11.12 kB / 496.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001475/0.5164, allocations: 0.6234 MB / 497.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.5165, allocations: 0 / 497.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008493/0.5173, allocations: 59.88 kB / 497.6 MB, free: 2.48 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.001916/0.5193, allocations: 0.933 MB / 498.5 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.5201, allocations: 150.3 kB / 498.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5201, allocations: 4 kB / 498.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.5205, allocations: 47.66 kB / 498.7 MB, free: 1.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.521, allocations: 21.67 kB / 498.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.5244, allocations: 1.337 MB / 0.4883 GB, free: 120 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.5252, allocations: 0.8253 MB / 0.4892 GB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.5254, allocations: 36.42 kB / 0.4892 GB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.5258, allocations: 111.4 kB / 0.4893 GB, free: 15.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5258, allocations: 4 kB / 0.4893 GB, free: 15.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/0.5905, allocations: 6.074 MB / 0.4952 GB, free: 9.164 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.5908, allocations: 214.5 kB / 0.4954 GB, free: 8.918 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.02, allocations: 0 / 0.4954 GB, free: 8.918 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat