Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001301/0.001301, allocations: 180.5 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.681/1.681, allocations: 221.3 MB / 236 MB, free: 3 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.0008959/0.000896, allocations: 83.86 kB / 287 MB, free: 236 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.2466/0.2466, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.486e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6618, allocations: 88.05 MB / 0.5878 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.6621, allocations: 67.97 kB / 0.5879 GB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009882/0.672, allocations: 3.722 MB / 0.5915 GB, free: 13.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6721, allocations: 0 / 0.5915 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.6721, allocations: 0 / 0.5915 GB, free: 13.39 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.0004048/0.6725, allocations: 374.3 kB / 0.5918 GB, free: 12.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.6725, allocations: 12.03 kB / 0.5919 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.6726, allocations: 30.56 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.6726, allocations: 11.91 kB / 0.5919 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.6729, allocations: 190.9 kB / 0.5921 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6729, allocations: 4 kB / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.673, allocations: 11.95 kB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6731, allocations: 55.41 kB / 0.5921 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6731, allocations: 3.938 kB / 0.5921 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.6732, allocations: 4 kB / 0.5922 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6732, allocations: 0 / 0.5922 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.6732, allocations: 8 kB / 0.5922 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.6737, allocations: 292.9 kB / 0.5924 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.6738, allocations: 54.48 kB / 0.5925 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.6739, allocations: 20.8 kB / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6739, allocations: 0 / 0.5925 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6739, allocations: 42.64 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.6739, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004565/0.6744, allocations: 137.2 kB / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.6745, allocations: 85.09 kB / 0.5928 GB, free: 11.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.6746, allocations: 121.7 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.6746, allocations: 29.7 kB / 0.5929 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.6747, allocations: 88.14 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.6747, allocations: 23.66 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6748, allocations: 4 kB / 0.593 GB, free: 11.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6749, allocations: 322.8 kB / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.6749, allocations: 23.98 kB / 0.5934 GB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/0.675, allocations: 33.78 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.675, allocations: 23.98 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.6751, allocations: 0 / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001349/0.6752, allocations: 93.52 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6752, allocations: 4 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.6752, allocations: 4.031 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6753, allocations: 0 / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.6754, allocations: 19.98 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6754, allocations: 0 / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.6754, allocations: 8 kB / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.6755, allocations: 3.984 kB / 0.5935 GB, free: 11.06 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 7.193e-05/0.6755, allocations: 112.9 kB / 0.5936 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.6756, allocations: 11.91 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.6758, allocations: 94.22 kB / 0.5937 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6758, allocations: 4 kB / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6758, allocations: 0 / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6758, allocations: 0 / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.6762, allocations: 374.3 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6762, allocations: 0 / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.6763, allocations: 23.94 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.6763, allocations: 3.984 kB / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6763, allocations: 0 / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.6763, allocations: 0 / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6763, allocations: 3.938 kB / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.6765, allocations: 183.7 kB / 0.5943 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.6766, allocations: 93 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6766, allocations: 4 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.6767, allocations: 8 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.6767, allocations: 3.984 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.6767, allocations: 4 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.6768, allocations: 109.7 kB / 0.5945 GB, free: 9.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6768, allocations: 0 / 0.5945 GB, free: 9.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.6771, allocations: 31.94 kB / 0.5946 GB, free: 9.918 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.001335/0.6784, allocations: 1.024 MB / 0.5956 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.6786, allocations: 51.98 kB / 0.5956 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6786, allocations: 0 / 0.5956 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.6787, allocations: 31.92 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.6789, allocations: 21.94 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.6795, allocations: 167.6 kB / 0.5958 GB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.6798, allocations: 0.6965 MB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.694e-05/0.6799, allocations: 28.27 kB / 0.5965 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.68, allocations: 19.44 kB / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.68, allocations: 0 / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.6935, allocations: 2.519 MB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.6937, allocations: 201.9 kB / 0.5992 GB, free: 5.242 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.382, allocations: 0 / 0.5992 GB, free: 5.242 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat does not exist to compare? outputFormat=mat