Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test5",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.009825/0.009826, allocations: 166.5 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.565/1.565, 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.001923/0.001922, allocations: 111 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.4672/0.4672, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09895, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4875, allocations: 74.55 MB / 486.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4877, allocations: 66.47 kB / 486.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.5033, allocations: 5.191 MB / 491.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5033, allocations: 0 / 491.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.5034, allocations: 8 kB / 491.5 MB, free: 8.488 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.0006704/0.5041, allocations: 0.6375 MB / 492.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5041, allocations: 8.031 kB / 492.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.5041, allocations: 30.56 kB / 492.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.5042, allocations: 50.69 kB / 492.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.5047, allocations: 318.6 kB / 492.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5048, allocations: 7.938 kB / 492.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5048, allocations: 7.75 kB / 492.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.505, allocations: 47.09 kB / 492.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.505, allocations: 0 / 492.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.505, allocations: 7.938 kB / 492.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.505, allocations: 1.031 kB / 492.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.5052, allocations: 31.77 kB / 492.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.5058, allocations: 434.1 kB / 493.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.506, allocations: 42.5 kB / 493.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.5061, allocations: 3.75 kB / 493.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.5061, allocations: 34.56 kB / 493.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5061, allocations: 0 / 493.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008112/0.5069, allocations: 246.8 kB / 493.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.507, allocations: 51.41 kB / 493.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.5085, allocations: 0.7709 MB / 494.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.5085, allocations: 25.7 kB / 494.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.5087, allocations: 216 kB / 494.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.5087, allocations: 15.62 kB / 494.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5088, allocations: 0 / 494.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.5088, allocations: 366 kB / 494.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.509, allocations: 23.92 kB / 494.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5091, allocations: 23.86 kB / 494.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.5092, allocations: 53.44 kB / 494.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5093, allocations: 3.469 kB / 494.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003602/0.5096, allocations: 161.8 kB / 495.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5097, allocations: 33.7 kB / 495.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5097, allocations: 0.75 kB / 495.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5097, allocations: 0 / 495.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5098, allocations: 19.94 kB / 495.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5099, allocations: 0 / 495.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.51, allocations: 8 kB / 495.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.51, allocations: 4 kB / 495.1 MB, free: 5.047 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 (6): * Single equations (assignments): 5 * 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.000238/0.5102, allocations: 214 kB / 495.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.5104, allocations: 39.53 kB / 495.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.5108, allocations: 148.9 kB / 495.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5108, allocations: 0 / 495.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5108, allocations: 7.938 kB / 495.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5108, allocations: 0 / 495.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.5118, allocations: 0.5806 MB / 496.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5118, allocations: 8 kB / 496.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.5119, allocations: 8 kB / 496.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5119, allocations: 4 kB / 496.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5119, allocations: 3.953 kB / 496.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5119, allocations: 3.984 kB / 496.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5119, allocations: 0 / 496.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.5123, allocations: 226.3 kB / 496.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.5125, allocations: 156.4 kB / 496.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.5126, allocations: 0 / 496.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.5128, allocations: 11.95 kB / 496.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.5128, allocations: 3.984 kB / 496.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5128, allocations: 2.688 kB / 496.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008856/0.5137, allocations: 0.6281 MB / 497.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5137, allocations: 0 / 497.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.5141, allocations: 59.98 kB / 497.2 MB, free: 3.168 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 (5): * Single equations (assignments): 5 * 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.001193/0.5154, allocations: 0.8994 MB / 498.1 MB, free: 2.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.5158, allocations: 120.5 kB / 498.2 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5158, allocations: 0 / 498.2 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5159, allocations: 27.61 kB / 498.3 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5163, allocations: 24.09 kB / 498.3 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5184, allocations: 1.322 MB / 499.6 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5187, allocations: 0.8228 MB / 0.4887 GB, free: 64 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5188, allocations: 40.16 kB / 0.4887 GB, free: 24 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.5191, allocations: 100.4 kB / 0.4888 GB, free: 16 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5191, allocations: 0 / 0.4888 GB, free: 16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.5507, allocations: 5.981 MB / 0.4947 GB, free: 10.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/0.5511, allocations: 213.7 kB / 0.4949 GB, free: 9.805 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.938, allocations: 0 / 0.4949 GB, free: 9.805 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat