Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001094/0.001094, allocations: 180.1 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.431/1.431, allocations: 221.4 MB / 236 MB, free: 2.934 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.0009675/0.0009675, allocations: 91.8 kB / 287 MB, free: 240 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.2838/0.2838, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.002e-05/5.013e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.498/0.6791, allocations: 88.08 MB / 0.5878 GB, free: 1.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6794, allocations: 75.95 kB / 0.5879 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01148/0.6909, allocations: 4.198 MB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.691, allocations: 0 / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.691, allocations: 0 / 0.592 GB, free: 12.8 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.0004158/0.6914, allocations: 402.2 kB / 0.5924 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6915, allocations: 8.031 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.6915, allocations: 38.55 kB / 0.5924 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.6916, allocations: 11.84 kB / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6918, allocations: 194 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.6919, allocations: 7.938 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6919, allocations: 7.953 kB / 0.5926 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.692, allocations: 49.61 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6921, allocations: 12 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.6921, allocations: 0 / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.6921, allocations: 0 / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.6921, allocations: 16 kB / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.6926, allocations: 308.7 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.6927, allocations: 42.52 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.6928, allocations: 12.86 kB / 0.593 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.6928, allocations: 0 / 0.593 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.6928, allocations: 38.64 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6928, allocations: 0 / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.6934, allocations: 161.2 kB / 0.5932 GB, free: 11.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.6934, allocations: 55.41 kB / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.6936, allocations: 169.9 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.6937, allocations: 25.7 kB / 0.5935 GB, free: 11.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.6937, allocations: 100.1 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.6938, allocations: 31.67 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.6938, allocations: 0 / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6939, allocations: 330.8 kB / 0.5939 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.694, allocations: 16 kB / 0.5939 GB, free: 10.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.694, allocations: 28.05 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.6941, allocations: 31.92 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6941, allocations: 0 / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001393/0.6942, allocations: 89.59 kB / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6942, allocations: 5.25 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.6943, allocations: 0 / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6943, allocations: 0 / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.6944, allocations: 19.98 kB / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.6944, allocations: 0 / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.6945, allocations: 15.98 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6945, allocations: 4 kB / 0.5941 GB, free: 10.4 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 (8): * Single equations (assignments): 8 * 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 8.657e-05/0.6946, allocations: 112.9 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.6946, allocations: 16.03 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.6948, allocations: 114.2 kB / 0.5943 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6949, allocations: 3.984 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6949, allocations: 0 / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6949, allocations: 0 / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.6954, allocations: 411.3 kB / 0.5947 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.6954, allocations: 3.938 kB / 0.5947 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.6955, allocations: 19.98 kB / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6955, allocations: 0 / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.6955, allocations: 7.938 kB / 0.5948 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6955, allocations: 0 / 0.5948 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6955, allocations: 0 / 0.5948 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.6957, allocations: 222.3 kB / 0.595 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.6958, allocations: 89.02 kB / 0.5951 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.6958, allocations: 11.98 kB / 0.5951 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.6959, allocations: 4 kB / 0.5951 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.696, allocations: 11.94 kB / 0.5951 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.696, allocations: 8 kB / 0.5951 GB, free: 9.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.6961, allocations: 146.4 kB / 0.5952 GB, free: 9.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6961, allocations: 0 / 0.5952 GB, free: 9.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000281/0.6964, allocations: 27.98 kB / 0.5953 GB, free: 9.109 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00158/0.698, allocations: 1.107 MB / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.6982, allocations: 59.92 kB / 0.5964 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6982, allocations: 4 kB / 0.5964 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.6982, allocations: 31.94 kB / 0.5964 GB, free: 8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.6985, allocations: 23.88 kB / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.6991, allocations: 239.5 kB / 0.5967 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6995, allocations: 0.716 MB / 0.5974 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.045e-05/0.6996, allocations: 25.02 kB / 0.5974 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.6997, allocations: 35.42 kB / 0.5975 GB, free: 6.895 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6997, allocations: 3.938 kB / 0.5975 GB, free: 6.891 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.7137, allocations: 2.631 MB / 0.6 GB, free: 4.336 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.7139, allocations: 192.1 kB / 0.6002 GB, free: 4.102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.384, allocations: 0 / 0.6002 GB, free: 4.102 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat does not exist to compare? outputFormat=mat