Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008369, allocations: 80.06 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.548e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1402, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5775, allocations: 89.11 MB / 0.5888 GB, free: 44 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5779, allocations: 76.03 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01206/0.59, allocations: 4.551 MB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.59, allocations: 0 / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.59, allocations: 0 / 0.5933 GB, free: 11.42 MB / 410.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.0004123/0.5905, allocations: 386.3 kB / 0.5937 GB, free: 11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/0.5905, allocations: 8.031 kB / 0.5937 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.5906, allocations: 38.56 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.5906, allocations: 3.906 kB / 0.5938 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.5909, allocations: 194.9 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5909, allocations: 11.77 kB / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.591, allocations: 0 / 0.594 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5911, allocations: 79.38 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5912, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5912, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5912, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.5913, allocations: 27.98 kB / 0.5941 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.5918, allocations: 316.7 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.817e-05/0.5919, allocations: 38.56 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.5919, allocations: 16.86 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.5919, allocations: 0 / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.592, allocations: 34.56 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.592, allocations: 0 / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005391/0.5925, allocations: 157.4 kB / 0.5946 GB, free: 9.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5926, allocations: 77.11 kB / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.5927, allocations: 139.3 kB / 0.5948 GB, free: 9.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5928, allocations: 29.7 kB / 0.5948 GB, free: 9.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.5928, allocations: 99.97 kB / 0.5949 GB, free: 9.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5929, allocations: 23.78 kB / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5929, allocations: 0 / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.593, allocations: 322.8 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.593, allocations: 23.94 kB / 0.5953 GB, free: 9.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.5931, allocations: 37.7 kB / 0.5953 GB, free: 9.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.5932, allocations: 23.98 kB / 0.5953 GB, free: 9.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5932, allocations: 0 / 0.5953 GB, free: 9.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/0.5933, allocations: 81.59 kB / 0.5954 GB, free: 9.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5933, allocations: 8 kB / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5933, allocations: 0 / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5934, allocations: 8.016 kB / 0.5954 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.5935, allocations: 23.98 kB / 0.5954 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5935, allocations: 3.938 kB / 0.5955 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.5936, allocations: 11.98 kB / 0.5955 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5936, allocations: 7.953 kB / 0.5955 GB, free: 8.996 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.356e-05/0.5937, allocations: 112.9 kB / 0.5956 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.5937, allocations: 7.906 kB / 0.5956 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.5939, allocations: 106.2 kB / 0.5957 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.594, allocations: 0 / 0.5957 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.594, allocations: 0 / 0.5957 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.594, allocations: 4 kB / 0.5957 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.5944, allocations: 370.8 kB / 0.596 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5944, allocations: 0 / 0.596 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.5945, allocations: 35.97 kB / 0.5961 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5945, allocations: 3.938 kB / 0.5961 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.5945, allocations: 0 / 0.5961 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.5945, allocations: 4 kB / 0.5961 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5945, allocations: 80 / 0.5961 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5947, allocations: 195.4 kB / 0.5963 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.5948, allocations: 89 kB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.5948, allocations: 8 kB / 0.5964 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5949, allocations: 11.98 kB / 0.5964 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.595, allocations: 11.98 kB / 0.5964 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.595, allocations: 0 / 0.5964 GB, free: 7.953 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.5951, allocations: 112.6 kB / 0.5965 GB, free: 7.844 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5951, allocations: 0 / 0.5965 GB, free: 7.844 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.5954, allocations: 28 kB / 0.5965 GB, free: 7.816 MB / 410.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 () * 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.001328/0.5967, allocations: 1.022 MB / 0.5975 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.5969, allocations: 55.98 kB / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5969, allocations: 0 / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.5969, allocations: 35.92 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.5972, allocations: 15.98 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.5977, allocations: 187.3 kB / 0.5978 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.598, allocations: 0.7043 MB / 0.5985 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.5981, allocations: 28.95 kB / 0.5985 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.5982, allocations: 23.42 kB / 0.5985 GB, free: 5.781 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5982, allocations: 0 / 0.5985 GB, free: 5.781 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.6136, allocations: 2.611 MB / 0.6011 GB, free: 3.254 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.6138, allocations: 182.4 kB / 0.6013 GB, free: 3.035 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.308, allocations: 4 kB / 0.6013 GB, free: 3.031 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat