Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test22",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.009696/0.009696, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.593/1.593, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001904/0.001904, allocations: 107.4 kB / 226.2 MB, free: 10.11 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.4192/0.4192, allocations: 38.06 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 16 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09994, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5298, allocations: 75.59 MB / 487.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5301, allocations: 74.89 kB / 487.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02255/0.5527, allocations: 6.194 MB / 493.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5527, allocations: 0 / 493.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.5528, allocations: 11.62 kB / 493.5 MB, free: 6.523 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00105/0.5538, allocations: 0.8255 MB / 494.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5539, allocations: 16.03 kB / 494.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.5539, allocations: 41.58 kB / 494.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.554, allocations: 43.44 kB / 494.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.5548, allocations: 441.2 kB / 494.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5548, allocations: 7.938 kB / 494.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.5549, allocations: 11.94 kB / 494.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.5552, allocations: 141.2 kB / 495.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5552, allocations: 0 / 495.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5553, allocations: 0 / 495.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5553, allocations: 7.953 kB / 495.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.5556, allocations: 86.95 kB / 495.2 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.5567, allocations: 0.6847 MB / 495.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.557, allocations: 119.9 kB / 496 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.557, allocations: 7.984 kB / 496 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.5571, allocations: 30.56 kB / 496 MB, free: 4.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.5571, allocations: 0 / 496 MB, free: 4.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001987/0.5591, allocations: 0.5306 MB / 496.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.5591, allocations: 81.06 kB / 496.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.5603, allocations: 0.7303 MB / 497.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.5603, allocations: 25.7 kB / 497.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.5605, allocations: 236.4 kB / 497.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.5605, allocations: 54.83 kB / 497.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.5606, allocations: 0 / 497.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.5607, allocations: 363.6 kB / 498 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.561, allocations: 77.2 kB / 498.1 MB, free: 2.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.5613, allocations: 91.3 kB / 498.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.5616, allocations: 185.3 kB / 498.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5617, allocations: 0 / 498.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007967/0.5625, allocations: 368.6 kB / 498.7 MB, free: 1.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.5625, allocations: 118.8 kB / 498.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5625, allocations: 0 / 498.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5626, allocations: 3.953 kB / 498.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.5629, allocations: 47.59 kB / 498.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5629, allocations: 0 / 498.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5632, allocations: 15.98 kB / 498.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.5632, allocations: 4 kB / 498.9 MB, free: 1.469 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000228/0.5634, allocations: 210.6 kB / 499.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5636, allocations: 47.44 kB / 499.1 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.5645, allocations: 289.8 kB / 499.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5645, allocations: 7.953 kB / 499.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5645, allocations: 0 / 499.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.5645, allocations: 0 / 499.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.5661, allocations: 0.8318 MB / 0.4885 GB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5661, allocations: 7.953 kB / 0.4885 GB, free: 216 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.5664, allocations: 43.16 kB / 0.4886 GB, free: 176 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5664, allocations: 4 kB / 0.4886 GB, free: 172 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5664, allocations: 0.75 kB / 0.4886 GB, free: 172 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5665, allocations: 4 kB / 0.4886 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5665, allocations: 0 / 0.4886 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.5673, allocations: 431.6 kB / 0.489 GB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.5677, allocations: 185.6 kB / 0.4892 GB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.5678, allocations: 4 kB / 0.4892 GB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.5681, allocations: 19.3 kB / 0.4892 GB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.5682, allocations: 19.91 kB / 0.4892 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.5682, allocations: 11.25 kB / 0.4892 GB, free: 15.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.5693, allocations: 0.5794 MB / 0.4898 GB, free: 15.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5693, allocations: 0 / 0.4898 GB, free: 15.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005651/0.5699, allocations: 103.8 kB / 0.4899 GB, free: 14.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002322/0.5722, allocations: 1.379 MB / 0.4912 GB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.5731, allocations: 395.5 kB / 0.4916 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5731, allocations: 0 / 0.4916 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.5735, allocations: 93.14 kB / 0.4917 GB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.5739, allocations: 50.53 kB / 0.4918 GB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.5766, allocations: 1.519 MB / 0.4932 GB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.5771, allocations: 0.8406 MB / 0.4941 GB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.5774, allocations: 87.52 kB / 0.4941 GB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.5777, allocations: 148.9 kB / 0.4943 GB, free: 10.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5778, allocations: 0 / 0.4943 GB, free: 10.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.6121, allocations: 8.226 MB / 0.5023 GB, free: 2.531 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/0.6125, allocations: 207.7 kB / 0.5025 GB, free: 2.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.221, allocations: 0 / 0.5025 GB, free: 2.293 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat