Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_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.001556/0.001556, allocations: 176.3 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.482/1.482, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009026/0.0009026, allocations: 99.11 kB / 281.6 MB, free: 5.266 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.1839/0.1839, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.649e-05, allocations: 8.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4748, allocations: 88.31 MB / 0.581 GB, free: 8.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.475, allocations: 67.91 kB / 0.5811 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.486, allocations: 4.125 MB / 0.5851 GB, free: 3.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4861, allocations: 0 / 0.5851 GB, free: 3.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4861, allocations: 4 kB / 0.5851 GB, free: 3.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.4866, allocations: 402.3 kB / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4867, allocations: 15.98 kB / 0.5855 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.4867, allocations: 11.91 kB / 0.5855 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.487, allocations: 207.4 kB / 0.5857 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.487, allocations: 3.953 kB / 0.5857 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.487, allocations: 4 kB / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.928e-05/0.4871, allocations: 24 kB / 0.5857 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4872, allocations: 63.39 kB / 0.5858 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4873, allocations: 3.828 kB / 0.5858 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4873, allocations: 0 / 0.5858 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4873, allocations: 4 kB / 0.5858 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4879, allocations: 325.2 kB / 0.5861 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.488, allocations: 54.56 kB / 0.5862 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.488, allocations: 28.97 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4881, allocations: 4 kB / 0.5862 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4881, allocations: 30.56 kB / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.4881, allocations: 0 / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007679/0.4889, allocations: 237.2 kB / 0.5865 GB, free: 2.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.489, allocations: 85.8 kB / 0.5865 GB, free: 2.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4891, allocations: 136.6 kB / 0.5867 GB, free: 2.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4891, allocations: 25.7 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4892, allocations: 100.2 kB / 0.5868 GB, free: 1.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4892, allocations: 31.55 kB / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.4892, allocations: 0 / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4894, allocations: 326.8 kB / 0.5871 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.4894, allocations: 28 kB / 0.5872 GB, free: 1.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.4895, allocations: 53.73 kB / 0.5872 GB, free: 1.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.4896, allocations: 35.97 kB / 0.5872 GB, free: 1.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4896, allocations: 0 / 0.5872 GB, free: 1.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.4898, allocations: 109.5 kB / 0.5874 GB, free: 1.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4898, allocations: 5.406 kB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4898, allocations: 0 / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4899, allocations: 4 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4901, allocations: 55.98 kB / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4901, allocations: 0 / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.4903, allocations: 32.16 kB / 0.5874 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4903, allocations: 8 kB / 0.5875 GB, free: 1.23 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 (10): * Single equations (assignments): 10 * 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 9.514e-05/0.4904, allocations: 112.9 kB / 0.5876 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001989/0.4906, allocations: 105.5 kB / 0.5877 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.4907, allocations: 7.906 kB / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4909, allocations: 126.5 kB / 0.5878 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4909, allocations: 3.938 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4909, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4909, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4914, allocations: 411 kB / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4914, allocations: 0 / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.4916, allocations: 51.95 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4916, allocations: 4 kB / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4916, allocations: 0 / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4916, allocations: 0 / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4917, allocations: 3.953 kB / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.4918, allocations: 199.4 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4919, allocations: 92.91 kB / 0.5885 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4919, allocations: 4 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4921, allocations: 31.97 kB / 0.5886 GB, free: 0 / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.4922, allocations: 19.97 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4922, allocations: 3.953 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.4923, allocations: 111.8 kB / 0.5887 GB, free: 15.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4923, allocations: 0 / 0.5887 GB, free: 15.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.4926, allocations: 35.94 kB / 0.5887 GB, free: 15.83 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 (9): * Single equations (assignments): 9 * 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.001203/0.4938, allocations: 1.02 MB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.494, allocations: 71.98 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.494, allocations: 7.938 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.4941, allocations: 36 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.4943, allocations: 17.36 kB / 0.5898 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.4948, allocations: 217.6 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.4951, allocations: 0.708 MB / 0.5907 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.4952, allocations: 36.52 kB / 0.5908 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.4953, allocations: 27.42 kB / 0.5908 GB, free: 13.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4953, allocations: 384 / 0.5908 GB, free: 13.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.543, allocations: 2.836 MB / 0.5936 GB, free: 10.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.5433, allocations: 176.6 kB / 0.5937 GB, free: 10.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.263, allocations: 0 / 0.5937 GB, free: 10.68 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat