Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001161/0.001161, allocations: 180.2 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.505/1.505, allocations: 221.3 MB / 236 MB, free: 2.969 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.001048/0.001048, allocations: 87.8 kB / 287 MB, free: 264 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.2519/0.2519, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.566e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1533, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4844/0.6378, allocations: 89.11 MB / 0.5888 GB, free: 168 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.6381, allocations: 71.97 kB / 0.5889 GB, free: 96 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.6503, allocations: 4.55 MB / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6504, allocations: 0 / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.6504, allocations: 4 kB / 0.5933 GB, free: 11.54 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.0004394/0.6508, allocations: 382.3 kB / 0.5937 GB, free: 11.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6509, allocations: 8.031 kB / 0.5937 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.6509, allocations: 38.56 kB / 0.5937 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.651, allocations: 7.906 kB / 0.5938 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.6512, allocations: 198.7 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6512, allocations: 0 / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.6513, allocations: 15.92 kB / 0.594 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.6514, allocations: 67.39 kB / 0.594 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6515, allocations: 0 / 0.594 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6515, allocations: 0 / 0.594 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.6515, allocations: 4 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.6515, allocations: 20 kB / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.652, allocations: 320.6 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.6521, allocations: 38.58 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.6521, allocations: 12.86 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.6522, allocations: 4 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.6522, allocations: 38.64 kB / 0.5944 GB, free: 10.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.6522, allocations: 4 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004912/0.6527, allocations: 153.3 kB / 0.5946 GB, free: 10.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.6528, allocations: 81.11 kB / 0.5947 GB, free: 9.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6529, allocations: 135.8 kB / 0.5948 GB, free: 9.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.6529, allocations: 29.7 kB / 0.5948 GB, free: 9.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.653, allocations: 99.97 kB / 0.5949 GB, free: 9.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.653, allocations: 23.72 kB / 0.5949 GB, free: 9.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.653, allocations: 0 / 0.5949 GB, free: 9.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6531, allocations: 318.8 kB / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.6532, allocations: 23.98 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.6532, allocations: 37.66 kB / 0.5953 GB, free: 9.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.6533, allocations: 24.06 kB / 0.5953 GB, free: 9.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6533, allocations: 0 / 0.5953 GB, free: 9.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001345/0.6534, allocations: 93.56 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6535, allocations: 8.031 kB / 0.5954 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6535, allocations: 0 / 0.5954 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6535, allocations: 0 / 0.5954 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.6536, allocations: 23.98 kB / 0.5954 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6536, allocations: 0 / 0.5954 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.6537, allocations: 15.98 kB / 0.5955 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.6537, allocations: 7.891 kB / 0.5955 GB, free: 9.117 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.043e-05/0.6538, allocations: 112.9 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.6539, allocations: 11.84 kB / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.6541, allocations: 102.3 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.6541, allocations: 4 kB / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.6541, allocations: 0 / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6541, allocations: 0 / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.6545, allocations: 378.4 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6545, allocations: 4 kB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.6546, allocations: 23.98 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6546, allocations: 0 / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6546, allocations: 7.938 kB / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6546, allocations: 0 / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6546, allocations: 0 / 0.5961 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.6548, allocations: 195.8 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.6549, allocations: 93 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6549, allocations: 0 / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.655, allocations: 11.98 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.6551, allocations: 8 kB / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6551, allocations: 4 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.303e-05/0.6552, allocations: 108 kB / 0.5965 GB, free: 7.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6552, allocations: 4 kB / 0.5965 GB, free: 7.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.6554, allocations: 35.97 kB / 0.5965 GB, free: 7.934 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.001251/0.6567, allocations: 1.028 MB / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.6569, allocations: 51.98 kB / 0.5976 GB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6569, allocations: 0 / 0.5976 GB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.6569, allocations: 31.94 kB / 0.5976 GB, free: 6.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.6571, allocations: 18.02 kB / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.6577, allocations: 187.3 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.658, allocations: 0.7043 MB / 0.5985 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.6581, allocations: 24.95 kB / 0.5985 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.6582, allocations: 27.41 kB / 0.5985 GB, free: 5.898 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6582, allocations: 0 / 0.5985 GB, free: 5.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.6765, allocations: 2.601 MB / 0.6011 GB, free: 3.383 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.6767, allocations: 182.4 kB / 0.6013 GB, free: 3.164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.264, allocations: 4 kB / 0.6013 GB, free: 3.16 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat