Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.001775/0.001775, allocations: 179 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.498/1.498, allocations: 221.3 MB / 236 MB, free: 2.922 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.0008842/0.0008846, allocations: 95.97 kB / 287 MB, free: 200 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.2169/0.2169, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.22e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6263, allocations: 87.98 MB / 0.5877 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6266, allocations: 68.59 kB / 0.5878 GB, free: 1.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.6366, allocations: 3.779 MB / 0.5915 GB, free: 13.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.6366, allocations: 0 / 0.5915 GB, free: 13.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.6367, allocations: 4 kB / 0.5915 GB, free: 13.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003915/0.6371, allocations: 370.3 kB / 0.5918 GB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.6371, allocations: 16.02 kB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.6372, allocations: 30.56 kB / 0.5919 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.6372, allocations: 7.906 kB / 0.5919 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.6374, allocations: 198.9 kB / 0.5921 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.6375, allocations: 3.953 kB / 0.5921 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.6375, allocations: 4 kB / 0.5921 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.6376, allocations: 41.7 kB / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6376, allocations: 3.984 kB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6376, allocations: 0 / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6377, allocations: 3.938 kB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.6377, allocations: 16 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.6381, allocations: 280.9 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.6383, allocations: 46.56 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.6384, allocations: 20.73 kB / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.6384, allocations: 0 / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.6384, allocations: 34.64 kB / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6384, allocations: 0 / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004208/0.6388, allocations: 109.5 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.6389, allocations: 63.39 kB / 0.5927 GB, free: 12.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6391, allocations: 150.6 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.6391, allocations: 29.7 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.6392, allocations: 100.1 kB / 0.5929 GB, free: 11.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.6392, allocations: 11.72 kB / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6392, allocations: 4 kB / 0.593 GB, free: 11.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6393, allocations: 322.8 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.6394, allocations: 12 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.6394, allocations: 8 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.6394, allocations: 19.98 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6395, allocations: 0 / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.6396, allocations: 65.59 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6396, allocations: 9.094 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6396, allocations: 3.984 kB / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6396, allocations: 0 / 0.5934 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.6397, allocations: 19.92 kB / 0.5934 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6397, allocations: 4.234 kB / 0.5934 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.6398, allocations: 8 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.6398, allocations: 15.95 kB / 0.5934 GB, free: 11.23 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 (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 prepare postOptimizeDAE: time 6.234e-05/0.6399, allocations: 105 kB / 0.5935 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.6399, allocations: 11.84 kB / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.6401, allocations: 77.77 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6401, allocations: 0 / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6401, allocations: 4 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.6401, allocations: 0 / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.6405, allocations: 350.5 kB / 0.5939 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6405, allocations: 0 / 0.5939 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.6405, allocations: 12 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6406, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.6406, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6406, allocations: 7.922 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6406, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.6407, allocations: 171.3 kB / 0.5941 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.6408, allocations: 93.02 kB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.6408, allocations: 3.984 kB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.6409, allocations: 4 kB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.641, allocations: 4 kB / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.641, allocations: 0 / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.6411, allocations: 134 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6411, allocations: 0 / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.6413, allocations: 23.94 kB / 0.5944 GB, free: 10.15 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 (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.001228/0.6425, allocations: 0.9649 MB / 0.5953 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.6427, allocations: 31.98 kB / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6427, allocations: 0 / 0.5954 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.6427, allocations: 19.94 kB / 0.5954 GB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.6429, allocations: 27.88 kB / 0.5954 GB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.6434, allocations: 175.5 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6437, allocations: 0.7043 MB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.6438, allocations: 12.19 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.6439, allocations: 23.42 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6439, allocations: 4 kB / 0.5963 GB, free: 8.207 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.6566, allocations: 2.205 MB / 0.5984 GB, free: 6.082 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.6569, allocations: 182.9 kB / 0.5986 GB, free: 5.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.327, allocations: 0 / 0.5986 GB, free: 5.859 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat does not exist to compare? outputFormat=mat