Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.0009263/0.0009262, allocations: 173.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 230.7 MB, free: 7.594 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.0009244/0.0009244, allocations: 95.12 kB / 281.6 MB, free: 5.336 MB / 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 / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.047e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1673, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.683, allocations: 87.32 MB / 0.58 GB, free: 9.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.6833, allocations: 67.95 kB / 0.5801 GB, free: 8.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009902/0.6932, allocations: 3.701 MB / 0.5837 GB, free: 5.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6933, allocations: 4 kB / 0.5837 GB, free: 5.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.6933, allocations: 0 / 0.5837 GB, free: 5.301 MB / 394.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.0003771/0.6937, allocations: 378.3 kB / 0.5841 GB, free: 4.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6937, allocations: 11.98 kB / 0.5841 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.6938, allocations: 4 kB / 0.5841 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.694, allocations: 190.9 kB / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.694, allocations: 0 / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.694, allocations: 3.906 kB / 0.5843 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.682e-05/0.6941, allocations: 19.95 kB / 0.5843 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.6942, allocations: 45.67 kB / 0.5844 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6942, allocations: 0 / 0.5844 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.6942, allocations: 4 kB / 0.5844 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6942, allocations: 0 / 0.5844 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.6946, allocations: 253.5 kB / 0.5846 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.6948, allocations: 54.39 kB / 0.5846 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.6948, allocations: 12.86 kB / 0.5847 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.6949, allocations: 0 / 0.5847 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.6949, allocations: 30.56 kB / 0.5847 GB, free: 4.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.6949, allocations: 0 / 0.5847 GB, free: 4.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000392/0.6953, allocations: 113.3 kB / 0.5848 GB, free: 4.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6953, allocations: 59.41 kB / 0.5849 GB, free: 3.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.6955, allocations: 139.8 kB / 0.585 GB, free: 3.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.6955, allocations: 25.7 kB / 0.585 GB, free: 3.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.6955, allocations: 92.14 kB / 0.5851 GB, free: 3.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.6956, allocations: 20.58 kB / 0.5851 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6956, allocations: 0 / 0.5851 GB, free: 3.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6957, allocations: 314.8 kB / 0.5854 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.6957, allocations: 15.98 kB / 0.5854 GB, free: 3.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.6957, allocations: 8 kB / 0.5854 GB, free: 3.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.6958, allocations: 16 kB / 0.5855 GB, free: 3.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6958, allocations: 0 / 0.5855 GB, free: 3.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.782e-05/0.6959, allocations: 69.55 kB / 0.5855 GB, free: 3.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6959, allocations: 4 kB / 0.5855 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6959, allocations: 7.922 kB / 0.5855 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.696, allocations: 3.938 kB / 0.5855 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.696, allocations: 12 kB / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.696, allocations: 0 / 0.5856 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.6961, allocations: 11.98 kB / 0.5856 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6961, allocations: 4 kB / 0.5856 GB, free: 3.215 MB / 394.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 8.71e-05/0.6962, allocations: 105 kB / 0.5857 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001047/0.6963, allocations: 69.55 kB / 0.5857 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.6963, allocations: 7.906 kB / 0.5857 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.6965, allocations: 74.02 kB / 0.5858 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6965, allocations: 0 / 0.5858 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6965, allocations: 4 kB / 0.5858 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.6965, allocations: 0 / 0.5858 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.6968, allocations: 319 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6968, allocations: 448 / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.6969, allocations: 15.98 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6969, allocations: 7.875 kB / 0.5861 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6969, allocations: 8 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.697, allocations: 0 / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.697, allocations: 0 / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.6971, allocations: 167.5 kB / 0.5863 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.6972, allocations: 85.02 kB / 0.5864 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6972, allocations: 0 / 0.5864 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.6973, allocations: 7.984 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6973, allocations: 4 kB / 0.5864 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.6973, allocations: 4 kB / 0.5864 GB, free: 2.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.6974, allocations: 116.4 kB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6974, allocations: 0 / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.6977, allocations: 23.98 kB / 0.5865 GB, free: 2.121 MB / 394.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.001071/0.6987, allocations: 0.9327 MB / 0.5874 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.722e-05/0.6988, allocations: 28 kB / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6989, allocations: 0 / 0.5875 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.6989, allocations: 27.92 kB / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.6991, allocations: 8.938 kB / 0.5875 GB, free: 1.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.6996, allocations: 165.3 kB / 0.5877 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6999, allocations: 0.704 MB / 0.5884 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.6999, allocations: 16.17 kB / 0.5884 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.7, allocations: 23.42 kB / 0.5884 GB, free: 208 kB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7, allocations: 0 / 0.5884 GB, free: 208 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.722, allocations: 1.802 MB / 0.5902 GB, free: 14.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.7223, allocations: 160.2 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.159, allocations: 0 / 0.5903 GB, free: 14.21 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat